Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
octave PG: use cxx11 PG instead of reproducing parts
  • Loading branch information
MarcusCalhoun-Lopez committed Jun 2, 2018
1 parent d562439 commit f8d6409
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions _resources/port1.0/group/octave-1.0.tcl
Expand Up @@ -14,11 +14,10 @@
options octave.module

# some header files from Octave require C++-11
# Octave requires c++-11 but can not use cxx11 PortGroup because Octave also
# requires fortran from gcc
# Compilers supporting C++11 are GCC >= 4.6 and clang >= 3.3.
PortGroup compiler_blacklist_versions 1.0
compiler.blacklist-append {*gcc-3*} {*gcc-4.[0-5]} {clang < 500} cc
PortGroup cxx11 1.1
# overrule cxx11 PortGroup because octave can use GCC compilers for Fortran
# even if configure.cxx_stdlib is libc++
compiler.blacklist-delete *gcc*

# override universal_setup found in portutil.tcl so it uses muniversal PortGroup
# see https://trac.macports.org/ticket/51643
Expand Down

0 comments on commit f8d6409

Please sign in to comment.