[69301] trunk/dports/math/shogun/Portfile

jameskyle at macports.org jameskyle at macports.org
Tue Jun 29 11:30:13 PDT 2010


Revision: 69301
          http://trac.macports.org/changeset/69301
Author:   jameskyle at macports.org
Date:     2010-06-29 11:30:12 -0700 (Tue, 29 Jun 2010)
Log Message:
-----------
Throw warning and exit if not leopard or above. #20113

Modified Paths:
--------------
    trunk/dports/math/shogun/Portfile

Modified: trunk/dports/math/shogun/Portfile
===================================================================
--- trunk/dports/math/shogun/Portfile	2010-06-29 17:56:42 UTC (rev 69300)
+++ trunk/dports/math/shogun/Portfile	2010-06-29 18:30:12 UTC (rev 69301)
@@ -57,7 +57,7 @@
                     --disable-hdf5
 
 pre-fetch {
-  if {[ regexp {^[2-8]} os.version]} {
+  if {[ regexp {^[2-8]} ${os.major}]} {
     return -code error "Shogun is only supported on leopard or above"
   }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100629/e338ad23/attachment.html>


More information about the macports-changes mailing list