[53223] trunk/dports/math/arpack/Portfile
mmoll at macports.org
mmoll at macports.org
Wed Jul 1 06:12:22 PDT 2009
Revision: 53223
http://trac.macports.org/changeset/53223
Author: mmoll at macports.org
Date: 2009-07-01 06:12:21 -0700 (Wed, 01 Jul 2009)
Log Message:
-----------
arpack: made gcc43 the default variant, following the discussion in r20103. Added gcc44 variant
Modified Paths:
--------------
trunk/dports/math/arpack/Portfile
Modified: trunk/dports/math/arpack/Portfile
===================================================================
--- trunk/dports/math/arpack/Portfile 2009-07-01 10:53:23 UTC (rev 53222)
+++ trunk/dports/math/arpack/Portfile 2009-07-01 13:12:21 UTC (rev 53223)
@@ -29,17 +29,22 @@
system "ranlib ${destroot}${prefix}/lib/libarpack.a"
}
-variant gcc42 description {build with gfortran-mp-4.2} conflicts gcc43 g95 {
+variant gcc42 description {build with gfortran-mp-4.2} conflicts gcc43 gcc44 g95 {
build.args-append FC=${prefix}/bin/gfortran-mp-4.2
depends_build-append port:gcc42
}
-variant gcc43 description {build with gfortran-mp-4.3} conflicts gcc42 g95 {
+variant gcc43 description {build with gfortran-mp-4.3} conflicts gcc42 gcc44 g95 {
build.args-append FC=${prefix}/bin/gfortran-mp-4.3
depends_build-append port:gcc43
}
-variant g95 description {build with g95} conflicts gcc42 gcc43 {
+variant gcc44 description {build with gfortran-mp-4.3} conflicts gcc42 gcc43 g95 {
+ build.args-append FC=${prefix}/bin/gfortran-mp-4.3
+ depends_build-append port:gcc43
+}
+
+variant g95 description {build with g95} conflicts gcc42 gcc43 gcc44 {
build.args-append FC=${prefix}/bin/g95
depends_build-append port:g95
}
@@ -50,7 +55,7 @@
ppatch.tar.gz md5 e6f0d70dd99f719c0efee351d0875c96
pre-fetch {
if {![file exists ${prefix}/bin/openmpif77]} {
- return -code error "Please install one of the following variants of the openmpi port: gcc42, gcc43, g95."
+ return -code error "Please install one of the following variants of the openmpi port: gcc42, gcc43, gcc44, g95."
}
}
pre-build { foreach entry [glob -directory ${worksrcpath}/PARPACK */MPI/mpif.h] { delete $entry } }
@@ -65,6 +70,6 @@
}
}
-if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset g95] } {
- default_variants +gcc42
+if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95] } {
+ default_variants +gcc43
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090701/18ffdda8/attachment.html>
More information about the macports-changes
mailing list