[35046] trunk/dports/math/fftw-3-single/Portfile
ram at macports.org
ram at macports.org
Sat Mar 15 08:14:24 PDT 2008
Revision: 35046
http://trac.macosforge.org/projects/macports/changeset/35046
Author: ram at macports.org
Date: 2008-03-15 08:14:24 -0700 (Sat, 15 Mar 2008)
Log Message:
-----------
math/fftw-3-single: allow gcc43 as a fortran compiler, see #14640
Modified Paths:
--------------
trunk/dports/math/fftw-3-single/Portfile
Modified: trunk/dports/math/fftw-3-single/Portfile
===================================================================
--- trunk/dports/math/fftw-3-single/Portfile 2008-03-15 15:09:37 UTC (rev 35045)
+++ trunk/dports/math/fftw-3-single/Portfile 2008-03-15 15:14:24 UTC (rev 35046)
@@ -63,20 +63,24 @@
configure.args-append --enable-altivec
}
-variant fortran conflicts g95 description "Use gfortran-mp-4.2 as fortran compiler" {
- depends_lib-append port:gcc42
- configure.fc gfortran-mp-4.2
- configure.args-delete --disable-fortran
- configure.args-append --enable-fortran=gfortran-mp-4.2
+variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 g95 {
+ depends_lib-append port:gcc42
+ configure.f77 gfortran-mp-4.2
+ configure.args-delete --disable-fortran
}
-variant g95 conflicts fortran description "Use g95 as fortran compiler" {
- depends_lib-append port:g95
- configure.fc g95
- configure.args-delete --disable-fortran
- configure.args-append --enable-fortran
+variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 g95 {
+ depends_lib-append port:gcc43
+ configure.f77 gfortran-mp-4.3
+ configure.args-delete --disable-fortran
}
+variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 {
+ depends_lib-append port:g95
+ configure.f77 g95
+ configure.args-delete --disable-fortran
+}
+
post-destroot {
file delete ${destroot}${prefix}/include/fftw3.f
file delete ${destroot}${prefix}/include/fftw3.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080315/5a57881e/attachment.html
More information about the macports-changes
mailing list