[68542] trunk/dports/math/arpack/Portfile
mmoll at macports.org
mmoll at macports.org
Sat Jun 5 13:16:48 PDT 2010
Revision: 68542
http://trac.macports.org/changeset/68542
Author: mmoll at macports.org
Date: 2010-06-05 13:16:45 -0700 (Sat, 05 Jun 2010)
Log Message:
-----------
math/arpack: show error message on 10.4 and older. closes #53959.
Modified Paths:
--------------
trunk/dports/math/arpack/Portfile
Modified: trunk/dports/math/arpack/Portfile
===================================================================
--- trunk/dports/math/arpack/Portfile 2010-06-05 20:13:57 UTC (rev 68541)
+++ trunk/dports/math/arpack/Portfile 2010-06-05 20:16:45 UTC (rev 68542)
@@ -25,6 +25,13 @@
use_parallel_build no
+pre-fetch {
+ 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"
+ }
+}
+
# Fortran compilers can not cross-compile
if { ${os.arch}=="i386" } {
set universal_archs_supported "i386 x86_64"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100605/64fd379d/attachment.html>
More information about the macports-changes
mailing list