Ticket #32894: portfile.patch
File portfile.patch, 3.5 KB (added by lukas.reichlin@…, 13 years ago) |
---|
-
(a) Portfile_orig vs. (b) Portfile
a b 4 4 PortSystem 1.0 5 5 6 6 name octave-devel 7 version 3. 4.38 revision 17 version 3.6.0 8 revision 0 9 9 conflicts octave 10 10 categories math science 11 11 maintainers michaelld openmaintainer … … 24 24 distname octave-${version} 25 25 use_bzip2 yes 26 26 27 checksums md5 185b08f4e4a7b646d76e4d33b77fa87e\28 sha1 fe622c28a38f8730c59e46211bc7b18e7f51a679\29 rmd160 d6f43fca9097b40f163c140db853d8ac1383ab3927 checksums md5 095386ff5233b3daf7ff9ff78dc1334f \ 28 sha1 62116e090d257a601e9d605f969dd87b7de1ffce \ 29 rmd160 4b19537670b7421942eb350320b4d3e6fda8fd1d 30 30 31 31 depends_build port:bison \ 32 32 port:flex \ … … 98 98 patchfiles-append patch-src-display.cc.diff 99 99 } 100 100 101 variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc4 6 gcc45 gcc44 g95 {}101 variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc47 gcc46 gcc45 gcc44 g95 {} 102 102 103 variant gcc44 description {build with the macports gcc44 toolchain} conflicts gcc4 6 gcc45 gcc43 g95 {}103 variant gcc44 description {build with the macports gcc44 toolchain} conflicts gcc47 gcc46 gcc45 gcc43 g95 {} 104 104 105 variant gcc45 description {build with the macports gcc45 toolchain} conflicts gcc4 6 gcc44 gcc43 g95 {}105 variant gcc45 description {build with the macports gcc45 toolchain} conflicts gcc47 gcc46 gcc44 gcc43 g95 {} 106 106 107 variant gcc46 description {build with the macports gcc4 5 toolchain} conflictsgcc45 gcc44 gcc43 g95 {}107 variant gcc46 description {build with the macports gcc46 toolchain} conflicts gcc47 gcc45 gcc44 gcc43 g95 {} 108 108 109 variant g95 description {build with g95} conflicts gcc43 gcc44 gcc45 gcc46 { 109 variant gcc47 description {build with the macports gcc47 toolchain} conflicts gcc46 gcc45 gcc44 gcc43 g95 {} 110 111 variant g95 description {build with g95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 { 110 112 depends_build-append port:g95 111 113 configure.f77 "${prefix}/bin/g95" 112 114 } … … 117 119 118 120 variant accelerate description {use BLAS from Apple's Accelerate.framework} conflicts atlas { 119 121 depends_lib-append port:dotwrp 120 configure.args-append --with-blas="-ldotwrp - frameworkAccelerate"121 configure.args-append --with-lapack="- frameworkAccelerate"122 configure.args-append --with-blas="-ldotwrp -Wl,-framework -Wl,Accelerate" 123 configure.args-append --with-lapack="-Wl,-framework -Wl,Accelerate" 122 124 } 123 125 124 126 if {[variant_isset g95]} { … … 133 135 # check for setting the default variant (gcc44) 134 136 if { ![variant_isset gcc43] && ![variant_isset gcc44] && \ 135 137 ![variant_isset gcc45] && ![variant_isset gcc46] && \ 136 ![variant_isset g 95] } {138 ![variant_isset gcc47] && ![variant_isset g95] } { 137 139 default_variants +gcc44 138 140 } 139 141 140 142 # check if the user disabled just the default variant: -gcc44 141 143 if { ![variant_isset gcc43] && ![variant_isset gcc44] && \ 142 144 ![variant_isset gcc45] && ![variant_isset gcc46] && \ 143 ![variant_isset g 95] } {145 ![variant_isset gcc47] && ![variant_isset g95] } { 144 146 error "You cannot use the variant -gcc44 alone." 145 147 } 146 148 … … 153 155 set gcc_version "4.5" 154 156 } elseif {[variant_isset gcc46]} { 155 157 set gcc_version "4.6" 158 } elseif {[variant_isset gcc47]} { 159 set gcc_version "4.7" 156 160 } 157 161 158 162 if {${gcc_version} != ""} {