[85583] trunk/dports/devel/libnotify/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Oct 14 12:27:45 PDT 2011
Revision: 85583
http://trac.macports.org/changeset/85583
Author: jeremyhu at macports.org
Date: 2011-10-14 12:27:45 -0700 (Fri, 14 Oct 2011)
Log Message:
-----------
libnotify: I can't believe we don't have os.minor ... sorry
Modified Paths:
--------------
trunk/dports/devel/libnotify/Portfile
Modified: trunk/dports/devel/libnotify/Portfile
===================================================================
--- trunk/dports/devel/libnotify/Portfile 2011-10-14 19:10:47 UTC (rev 85582)
+++ trunk/dports/devel/libnotify/Portfile 2011-10-14 19:27:45 UTC (rev 85583)
@@ -33,7 +33,7 @@
}
pre-activate {
- if {${os.major} == 11 && ${os.minor} < 2} {
+ if {${os.major} == 11 && [lindex [split ${os.version} .] 1] < 2} {
ui_error "You must first update to OS X 10.7.2."
return -code error "You must first update to OS X 10.7.2."
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111014/0343d27a/attachment.html>
More information about the macports-changes
mailing list