[62944] trunk/dports/x11/wine-crossover-games/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Jan 22 06:08:38 PST 2010


Revision: 62944
          http://trac.macports.org/changeset/62944
Author:   jeremyhu at macports.org
Date:     2010-01-22 06:08:36 -0800 (Fri, 22 Jan 2010)
Log Message:
-----------
wine-crossover-games: Add a check to disable-win16.  Fixes #23387

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

Modified: trunk/dports/x11/wine-crossover-games/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover-games/Portfile	2010-01-22 13:59:04 UTC (rev 62943)
+++ trunk/dports/x11/wine-crossover-games/Portfile	2010-01-22 14:08:36 UTC (rev 62944)
@@ -87,17 +87,25 @@
 # This is not 64-bit friendly yet
 configure.build_arch i386
 
+platform darwin 9 {
+    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."
+    configure.args-append --disable-win16
+}
+
 platform darwin 10 {
+    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."
+    configure.args-append --disable-win16
+
     # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o
     configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE
 }
 
 pre-fetch {
-    if { [string compare ${os.endian} "little"] != 0 } {
-        return -code error "${name} only runs on little-endian computers, such as an Intel Mac."
+    if {"big" == ${os.endian}} {
+        ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor."
+        return -code error "incompatible processor"
     }
 }
-
 post-destroot {
     xinstall -d ${destroot}${prefix}/libexec/wine
     xinstall -m 755 ${filespath}/wine.in ${destroot}${prefix}/bin/wine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100122/b6cb9fe9/attachment.html>


More information about the macports-changes mailing list