[48810] trunk/dports/aqua/osxvnc/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Mar 29 02:31:49 PDT 2009


Revision: 48810
          http://trac.macports.org/changeset/48810
Author:   ryandesign at macports.org
Date:     2009-03-29 02:31:48 -0700 (Sun, 29 Mar 2009)
Log Message:
-----------
osxvnc: improve Mac OS X version check error message

Modified Paths:
--------------
    trunk/dports/aqua/osxvnc/Portfile

Modified: trunk/dports/aqua/osxvnc/Portfile
===================================================================
--- trunk/dports/aqua/osxvnc/Portfile	2009-03-29 09:28:05 UTC (rev 48809)
+++ trunk/dports/aqua/osxvnc/Portfile	2009-03-29 09:31:48 UTC (rev 48810)
@@ -32,9 +32,10 @@
 patchfiles \
     patch-project.pbxproj.diff
 
-platform darwin 6 {
-    pre-fetch {
-        return -code error "${name} requires Mac OS X 10.3 or newer"
+pre-fetch {
+    if {"darwin" == ${os.platform} && ${os.major} < 7} {
+        ui_error "${name} requires Mac OS X 10.3 or newer"
+        return -code error "incompatible Mac OS X version"
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090329/f36afe6d/attachment.html>


More information about the macports-changes mailing list