Ticket #32702: octave-devel.patch
File octave-devel.patch, 2.9 KB (added by lukas.reichlin@…, 13 years ago) |
---|
-
(a) Portfile_orig vs. (b) Portfile
a b 5 5 6 6 name octave-devel 7 7 version 3.4.3 8 revision 18 revision 2 9 9 conflicts octave 10 10 categories math science 11 11 maintainers michaelld openmaintainer … … 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} != ""} {