[73048] trunk/dports/devel/MacPorts_Framework/Portfile

juanger at macports.org juanger at macports.org
Mon Nov 1 19:29:11 PDT 2010


Revision: 73048
          http://trac.macports.org/changeset/73048
Author:   juanger at macports.org
Date:     2010-11-01 19:29:08 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
Better compatibility check. As suggested by Ryan Schmidt.

Modified Paths:
--------------
    trunk/dports/devel/MacPorts_Framework/Portfile

Modified: trunk/dports/devel/MacPorts_Framework/Portfile
===================================================================
--- trunk/dports/devel/MacPorts_Framework/Portfile	2010-11-02 01:53:33 UTC (rev 73047)
+++ trunk/dports/devel/MacPorts_Framework/Portfile	2010-11-02 02:29:08 UTC (rev 73048)
@@ -25,15 +25,10 @@
 
 xcode.target            MacPorts
 
-if {"darwin" == ${os.platform}} {
-  if {9 <= ${os.major}} {
-    xcode.configuration     Release
-  } elseif {8 == ${os.major}} {
-    xcode.configuration     Release-Tiger
-  } else {
-    ui_error "You need at least Mac OS X Tiger to build this port."
-    return -code error "incompatible Mac OS X version"
-  }
+xcode.configuration     Release
+
+platform darwin 8 {
+   xcode.configuration Release-Tiger
 }
 
 xcode.destroot.type     framework
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101101/87c9e1e9/attachment.html>


More information about the macports-changes mailing list