Ticket #25664: octave-portfile.diff
File octave-portfile.diff, 1.7 KB (added by todmorrison (Tod Morrison), 14 years ago) |
---|
-
Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 6 7191 2010-05-01 09:29:37Z ryandesign@macports.org $2 # $Id: Portfile 68909 2010-06-17 19:37:58Z jmr@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 6 6 name octave 7 7 version 3.2.4 8 revision 19 8 categories math science 10 9 maintainers stechert 11 10 platforms darwin … … 73 72 TEXI2DVI="${prefix}/bin/texi2dvi" \ 74 73 TEXI2PDF="${prefix}/bin/texi2pdf" 75 74 76 use_parallel_build yes75 use_parallel_build no 77 76 universal_variant no 78 77 79 78 test.run yes 80 79 test.target check 81 80 82 if {![variant_isset g95]} {83 if {(${build_arch}=="x86_64" || ${build_arch}=="ppc64")} {84 configure.fflags-append -ff2c -fdefault-real-885 pre-patch {86 reinplace "s|real sdot|real*4 sdot|g" ${worksrcpath}/configure87 reinplace "s|complex cdotu|complex*8 cdotu|g" ${worksrcpath}/configure88 }89 } else {90 configure.fflags-append -ff2c91 }92 }93 94 variant no_atlas description {use system blas instead of atlas} {95 depends_lib-delete port:atlas96 configure.args-append --with-blas="-framework Accelerate"97 configure.env-append LIBS="-framework Accelerate"98 }99 100 81 variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 g95 { 101 82 depends_build-append port:gcc43 102 83 configure.compiler macports-gcc-4.3