Throw warning and exit if not leopard or above. #20113
--- 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"
}
}