Ticket #49010: Portfile.diff
File Portfile.diff, 2.2 KB (added by howarth.at.macports@…, 9 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 134561 2015-03-30 08:46:40Z jeremyhu@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup active_variants 1.1 5 6 6 7 name ccpnmr 7 8 version 2.4.2 8 revision 19 revision 2 9 10 set branch [join [lrange [split $version .] 0 1] .] 10 11 categories science python 11 12 maintainers gmail.com:howarth.at.macports … … 78 79 system "${python.bin} -O ${python.libdir}/compileall.py -d ${python.pkgd}/${name}/${name}${branch} ${destroot}${python.pkgd}/${name}/${name}${branch}" 79 80 } 80 81 81 variant gcc45 conflicts gcc46 gcc47 gcc48 gcc49 description {Build with GCC 4.5} {82 variant gcc45 conflicts gcc46 gcc47 gcc48 gcc49 gcc5 description {Build with GCC 4.5} { 82 83 configure.compiler macports-gcc-4.5 83 84 set lib ${prefix}/lib/gcc45 84 85 } 85 variant gcc46 conflicts gcc45 gcc47 gcc48 gcc49 description {Build with GCC 4.6} {86 variant gcc46 conflicts gcc45 gcc47 gcc48 gcc49 gcc5 description {Build with GCC 4.6} { 86 87 configure.compiler macports-gcc-4.6 87 88 set lib ${prefix}/lib/gcc46 88 89 } 89 variant gcc47 conflicts gcc45 gcc46 gcc48 gcc49 description {Build with GCC 4.7} {90 variant gcc47 conflicts gcc45 gcc46 gcc48 gcc49 gcc5 description {Build with GCC 4.7} { 90 91 configure.compiler macports-gcc-4.7 91 92 set lib ${prefix}/lib/gcc47 92 93 } 93 variant gcc48 conflicts gcc45 gcc46 gcc47 gcc49 description {Build with GCC 4.8} {94 variant gcc48 conflicts gcc45 gcc46 gcc47 gcc49 gcc5 description {Build with GCC 4.8} { 94 95 configure.compiler macports-gcc-4.8 95 96 set lib ${prefix}/lib/gcc48 96 97 } 97 variant gcc49 conflicts gcc45 gcc46 gcc47 gcc48 description {Build with GCC 4.9} {98 variant gcc49 conflicts gcc45 gcc46 gcc47 gcc48 gcc5 description {Build with GCC 4.9} { 98 99 configure.compiler macports-gcc-4.9 99 100 set lib ${prefix}/lib/gcc49 100 101 } 101 102 if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48] && ![variant_isset gcc49]} { 103 default_variants +gcc48102 variant gcc5 conflicts gcc45 gcc46 gcc47 gcc48 gcc49 description {Build with GCC 5} { 103 configure.compiler macports-gcc-5 104 set lib ${prefix}/lib/gcc5 104 105 }