[96845] trunk/dports/x11

ryandesign at macports.org ryandesign at macports.org
Sun Aug 19 19:07:41 PDT 2012


Revision: 96845
          https://trac.macports.org/changeset/96845
Author:   ryandesign at macports.org
Date:     2012-08-19 19:07:37 -0700 (Sun, 19 Aug 2012)
Log Message:
-----------
wine, wine-devel, wine-crossover: require Leopard or greater (#31500, #35733)

Modified Paths:
--------------
    trunk/dports/x11/wine/Portfile
    trunk/dports/x11/wine-crossover/Portfile
    trunk/dports/x11/wine-devel/Portfile

Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile	2012-08-20 00:55:28 UTC (rev 96844)
+++ trunk/dports/x11/wine/Portfile	2012-08-20 02:07:37 UTC (rev 96845)
@@ -3,7 +3,6 @@
 
 PortSystem                  1.0
 PortGroup                   archcheck 1.0
-PortGroup                   xcodeversion 1.0
 
 name                        wine
 conflicts                   wine-devel wine-crossover
@@ -25,8 +24,6 @@
 build.target                depend all
 use_parallel_build          yes
 
-minimum_xcodeversions       {8 2.5}
-
 description                 Wine Is Not an Emulator
 
 long_description            Wine is an implementation of the Windows APIs on top of X11.
@@ -173,6 +170,11 @@
         ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor."
         return -code error "incompatible processor"
     }
+
+    if {${os.platform} == "darwin" && ${os.major} < 9} {
+        ui_error "${name} ${version} requires OS X 10.5 or greater."
+        return -code error "incompatible OS X version"
+    }
 }
 
 post-destroot {

Modified: trunk/dports/x11/wine-crossover/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover/Portfile	2012-08-20 00:55:28 UTC (rev 96844)
+++ trunk/dports/x11/wine-crossover/Portfile	2012-08-20 02:07:37 UTC (rev 96845)
@@ -2,7 +2,6 @@
 
 PortSystem                  1.0
 PortGroup                   archcheck 1.0
-PortGroup                   xcodeversion 1.0
 
 name                        wine-crossover
 conflicts                   wine wine-devel
@@ -23,8 +22,6 @@
 build.target                depend all
 use_parallel_build          yes
 
-minimum_xcodeversions       {8 2.5}
-
 description                 Wine Is Not an Emulator (1.4.1 with CodeWeavers modifications for CrossOver)
 
 long_description            Wine is an implementation of the Windows APIs on top of X11. \
@@ -176,6 +173,11 @@
         ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor."
         return -code error "incompatible processor"
     }
+
+    if {${os.platform} == "darwin" && ${os.major} < 9} {
+        ui_error "${name} ${version} requires OS X 10.5 or greater."
+        return -code error "incompatible OS X version"
+    }
 }
 
 post-destroot {

Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile	2012-08-20 00:55:28 UTC (rev 96844)
+++ trunk/dports/x11/wine-devel/Portfile	2012-08-20 02:07:37 UTC (rev 96845)
@@ -3,7 +3,6 @@
 
 PortSystem                  1.0
 PortGroup                   archcheck 1.0
-PortGroup                   xcodeversion 1.0
 
 name                        wine-devel
 conflicts                   wine wine-crossover
@@ -25,8 +24,6 @@
 build.target                depend all
 use_parallel_build          yes
 
-minimum_xcodeversions       {8 2.5}
-
 description                 Wine Is Not an Emulator
 
 long_description            Wine is an implementation of the Windows APIs on top of X11.
@@ -174,6 +171,11 @@
         ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor."
         return -code error "incompatible processor"
     }
+
+    if {${os.platform} == "darwin" && ${os.major} < 9} {
+        ui_error "${name} ${version} requires OS X 10.5 or greater."
+        return -code error "incompatible OS X version"
+    }
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120819/c2f08eac/attachment.html>


More information about the macports-changes mailing list