[78512] trunk/dports/net/transmission-x11/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue May 10 05:57:07 PDT 2011


Revision: 78512
          http://trac.macports.org/changeset/78512
Author:   ryandesign at macports.org
Date:     2011-05-10 05:57:07 -0700 (Tue, 10 May 2011)
Log Message:
-----------
transmission-x11 requires Mac OS X 10.5 or greater regardless of variant; see #29417

Modified Paths:
--------------
    trunk/dports/net/transmission-x11/Portfile

Modified: trunk/dports/net/transmission-x11/Portfile
===================================================================
--- trunk/dports/net/transmission-x11/Portfile	2011-05-10 12:44:19 UTC (rev 78511)
+++ trunk/dports/net/transmission-x11/Portfile	2011-05-10 12:57:07 UTC (rev 78512)
@@ -46,12 +46,13 @@
 variant aqua description {Build Aqua front-end} {
   configure.args-delete --disable-darwin
   configure.args-append --enable-darwin
-  pre-fetch {
-    if {"darwin" == ${os.platform} && ${os.major} < 9} {
-      ui_error "${name} +aqua requires Mac OS X 10.5 or greater. Try the +gtk variant instead."
-      return -code error "incompatible Mac OS X version"
+}
+
+platform darwin 8 {
+    pre-fetch {
+        ui_error "${name} requires Mac OS X 10.5 or greater."
+        return -code error "incompatible Mac OS X version"
     }
-  }
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110510/ea606f5e/attachment.html>


More information about the macports-changes mailing list