Ticket #22997: octave-portfile.2.diff
File octave-portfile.2.diff, 1.4 KB (added by todmorrison (Tod Morrison), 14 years ago) |
---|
-
math/octave/Portfile
old new 5 5 6 6 name octave 7 7 version 3.2.4 8 revision 1 8 9 categories math science 9 10 maintainers stechert 10 11 platforms darwin … … 72 73 TEXI2DVI="${prefix}/bin/texi2dvi" \ 73 74 TEXI2PDF="${prefix}/bin/texi2pdf" 74 75 75 use_parallel_build no76 use_parallel_build yes 76 77 universal_variant no 77 78 78 79 test.run yes 79 80 test.target check 80 81 82 if {![variant_isset g95]} { 83 if {(${build_arch}=="x86_64" || ${build_arch}=="ppc64")} { 84 configure.fflags-append -ff2c -fdefault-real-8 85 pre-patch { 86 reinplace "s|real sdot|real*4 sdot|g" ${worksrcpath}/configure 87 reinplace "s|complex cdotu|complex*8 cdotu|g" ${worksrcpath}/configure 88 } 89 } else { 90 configure.fflags-append -ff2c 91 } 92 } 93 94 variant no_atlas description {use system blas instead of atlas} { 95 depends_lib-delete port:atlas 96 configure.args-append --with-blas="-framework Accelerate" 97 configure.env-append LIBS="-framework Accelerate" 98 } 99 81 100 variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 g95 { 82 101 depends_build-append port:gcc43 83 102 configure.compiler macports-gcc-4.3