[59623] trunk/dports/math/shogun/Portfile
jameskyle at macports.org
jameskyle at macports.org
Sat Oct 17 18:28:20 PDT 2009
Revision: 59623
http://trac.macports.org/changeset/59623
Author: jameskyle at macports.org
Date: 2009-10-17 18:28:17 -0700 (Sat, 17 Oct 2009)
Log Message:
-----------
Added check for versions of OS X below 9.x (leopard). If less than leopard, exits with message.
Modified Paths:
--------------
trunk/dports/math/shogun/Portfile
Modified: trunk/dports/math/shogun/Portfile
===================================================================
--- trunk/dports/math/shogun/Portfile 2009-10-18 01:28:15 UTC (rev 59622)
+++ trunk/dports/math/shogun/Portfile 2009-10-18 01:28:17 UTC (rev 59623)
@@ -56,9 +56,14 @@
configure.cc ${prefix}/bin/gcc-mp-4.3
-
configure.compiler macports-gcc-4.3
+pre-fetch {
+ if {[ regexp {^[2-8]} os.version]} {
+ return -code error "Shogun is only supported on leopard or above"
+ }
+}
+
proc lremove {list elem} {
set index [lsearch -exact $list $elem]
return [lreplace $list $index $index]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091017/a4e7fed7/attachment.html>
More information about the macports-changes
mailing list