Ticket #22458: Portfile.diff
File Portfile.diff, 1.9 KB (added by numaryu, 15 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 41657 2008-11-08 15:56:14Z mcalhoun@macports.org $ 2 2 3 PortSystem 1.0 4 3 PortSystem 1.0 5 4 name fftw 6 5 version 2.1.5 7 revision 26 revision 3 8 7 categories math devel 9 8 maintainers nomaintainer 10 9 description Fast C routines to compute the Discrete Fourier Transform … … 30 29 sha1 12020b58edc1b0490a83db4aa912fac5dfdfb26b \ 31 30 rmd160 723308722d76c12710db6473979adf8d086b0909 32 31 configure.args --enable-type-prefix --enable-threads \ 32 --enable-shared --enable-mpi \ 33 33 --disable-fortran --infodir=${prefix}/share/info 34 34 35 variant fortran description {include fortran-callable wrappers} { 35 platform darwin { 36 patchfiles-append patch-configure_darwin 37 } 38 39 variant gcc42 conflicts gcc43 g95 description {create Fortran wrappers using gcc42} { 40 depends_lib-append port:gcc42 41 configure.compiler macports-gcc-4.2 42 configure.args-delete --disable-fortran 43 configure.args-append --enable-fortran --with-gcc 44 } 45 46 variant gcc43 conflicts gcc42 g95 description {create Fortran wrappers using gcc43} { 47 depends_lib-append port:gcc43 48 configure.compiler macports-gcc-4.3 49 configure.args-delete --disable-fortran 50 configure.args-append --enable-fortran --with-gcc 51 } 52 53 variant g95 conflicts gcc42 gcc43 description {create Fortran wrappers using g95} { 36 54 depends_lib-append port:g95 37 configure.f77 ${prefix}/bin/g9555 configure.f77 g95 38 56 configure.args-delete --disable-fortran 39 57 configure.args-append --enable-fortran 40 58 } 41 59 42 p latform darwin{43 if {[variant_isset fortran]} {44 patchfiles-append patch-configure_darwin60 post-destroot { 61 if {[variant_isset gcc42] || [variant_isset gcc43] || [variant_isset g95] || [variant_isset gcc34] || [variant_isset fortran]} { 62 xinstall -m 644 ${worksrcpath}/fortran/fftw_f77.i ${destroot}${prefix}/include 45 63 } 46 64 }