[107142] trunk/dports/math/arpack/Portfile
mmoll at macports.org
mmoll at macports.org
Wed Jun 19 11:18:38 PDT 2013
Revision: 107142
https://trac.macports.org/changeset/107142
Author: mmoll at macports.org
Date: 2013-06-19 11:18:38 -0700 (Wed, 19 Jun 2013)
Log Message:
-----------
math/arpack: move active_variants procs to pre-configure stage
Modified Paths:
--------------
trunk/dports/math/arpack/Portfile
Modified: trunk/dports/math/arpack/Portfile
===================================================================
--- trunk/dports/math/arpack/Portfile 2013-06-19 16:59:45 UTC (rev 107141)
+++ trunk/dports/math/arpack/Portfile 2013-06-19 18:18:38 UTC (rev 107142)
@@ -32,7 +32,7 @@
# also, if it has ${prefix}/lib it will prevent +accelerate from working if atlas is present.
configure.args-append LDFLAGS=''
-pre-fetch {
+pre-configure {
if {"darwin" == ${os.platform} && ${os.major} < 9} {
ui_error "${name} ${version} requires Mac OS X 10.5 or greater"
return -code error "incompatible Mac OS X version"
@@ -46,6 +46,10 @@
ui_error "${name} with +openmpi requires that openmpi was built with a Fortran variant"
return -code error "openmpi needs Fortran variant"
}
+ # see g95 variant below for explanation
+ if { [active_variants openmpi g95] } {
+ configure.args-append --disable-shared
+ }
}
if {[variant_isset mpich]} {
@@ -60,7 +64,6 @@
}
}
}
-
}
# Fortran compilers can not cross-compile
@@ -75,10 +78,6 @@
configure.args-delete --disable-mpi
configure.args-append --enable-mpi
configure.env-append F77=${prefix}/bin/openmpif77
- # see g95 variant below for explanation
- if { [active_variants openmpi g95] } {
- configure.args-append --disable-shared
- }
}
variant mpich description {build PARPACK, with MPICH} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 g95 openmpi {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130619/f1448b81/attachment.html>
More information about the macports-changes
mailing list