Revision
81374
Author
raimue@macports.org
Date
2011-07-29 18:03:45 -0700 (Fri, 29 Jul 2011)

Log Message

devel/valgrind:
The current version is only compatible with Mac OS X 10.5 or 10.6.

Modified Paths

Diff

Modified: trunk/dports/devel/valgrind/Portfile (81373 => 81374)


--- trunk/dports/devel/valgrind/Portfile	2011-07-30 00:59:39 UTC (rev 81373)
+++ trunk/dports/devel/valgrind/Portfile	2011-07-30 01:03:45 UTC (rev 81374)
@@ -23,8 +23,8 @@
 use_bzip2 yes
 
 pre-configure {
-    if {"darwin" == ${os.platform} && ${os.major} < 9} {
-        ui_error "${name} ${version} is only compatible with Mac OS X 10.5 or later."
+    if {"darwin" == ${os.platform} && (${os.major} < 9 || ${os.major} > 10)} {
+        ui_error "${name} ${version} is only compatible with Mac OS X 10.5 or 10.6."
         return -code error "incompatible Mac OS X version"
     }
 }