[80263] trunk/dports/archivers/arj/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jul 7 20:42:18 PDT 2011


Revision: 80263
          http://trac.macports.org/changeset/80263
Author:   ryandesign at macports.org
Date:     2011-07-07 20:42:17 -0700 (Thu, 07 Jul 2011)
Log Message:
-----------
arj: revise message to only print on darwin

Modified Paths:
--------------
    trunk/dports/archivers/arj/Portfile

Modified: trunk/dports/archivers/arj/Portfile
===================================================================
--- trunk/dports/archivers/arj/Portfile	2011-07-08 03:36:32 UTC (rev 80262)
+++ trunk/dports/archivers/arj/Portfile	2011-07-08 03:42:17 UTC (rev 80263)
@@ -22,9 +22,12 @@
 checksums           sha1    e8470f480e9eee14906e5485a8898e5c24738c8b \
                     rmd160  80f8a1a8cd203f73def8e957d96563a4dba80153
 
-pre-fetch {
-    if {${os.major} > 10} {
-        return -code error "${name} will not build on Lion."
+platform darwin {
+    pre-fetch {
+        if {${os.major} > 10} {
+            ui_error "${name} will only build on Mac OS X 10.6 Snow Leopard or earlier"
+            return -code error "incompatible Mac OS X version"
+        }
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110707/5f8ce4c3/attachment.html>


More information about the macports-changes mailing list