Ticket #7001: Portfile.diff
File Portfile.diff, 1.2 KB (added by gwright@…, 18 years ago) |
---|
-
Portfile
old new 1 1 PortSystem 1.0 2 2 name octave 3 3 version 2.1.72 4 revision 1 4 5 categories math science 5 6 maintainers persquare@users.sourceforge.net 6 7 platforms darwin … … 54 55 destroot.destdir prefix=${destroot}${prefix} 55 56 56 57 platform darwin 8 { 57 patchfiles-delete patch-configure-gcc34argbug 58 configure.env-delete CC="gcc-dp-3.4" CXX="g++-dp-3.4" 59 configure.env-append CC="gcc-4.0" CXX="g++-4.0" 58 depends_run-delete port:gcc34 59 depends_run-append port:gcc40 60 61 configure.env-delete CC="gcc-dp-3.4" 62 configure.env-delete CXX="g++-dp-3.4" 63 configure.env-delete F77="g77-dp-3.4" 60 64 configure.env-delete FLIBS="-lg2c" 61 configure.env-append FLIBS="-L${prefix}/lib/gcc-3.4 -lg2c" 62 configure.env-delete LDFLAGS="-L${prefix}/lib" 63 configure.env-append LDFLAGS="-L${prefix}/lib -L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1 -lgcc" 65 66 configure.env-append CC="gcc-dp-4.0" 67 configure.env-append CXX="g++-dp-4.0" 68 configure.env-append F77="gfortran-dp-4.0" 69 configure.env-append FLIBS="-lgfortran" 70 71 configure.args-append --with-blas="-framework Accelerate" 64 72 } 65 73 66 74 default_variants +test