[26604] trunk/dports/x11/wine/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 29 23:04:48 PDT 2007


Revision: 26604
          http://trac.macosforge.org/projects/macports/changeset/26604
Author:   ryandesign at macports.org
Date:     2007-06-29 23:04:47 -0700 (Fri, 29 Jun 2007)

Log Message:
-----------
wine: more-compatible check for little-endianness.

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

Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile	2007-06-30 05:43:20 UTC (rev 26603)
+++ trunk/dports/x11/wine/Portfile	2007-06-30 06:04:47 UTC (rev 26604)
@@ -49,9 +49,9 @@
 configure.args \
 	--x-includes=${x11prefix}/include/
 
-platform powerpc {
-	pre-fetch {
-		ui_error "Wine only runs on computers with an Intel processor."
+pre-fetch {
+	if { [string compare ${os.endian} "little"] != 0 } {
+		ui_error "${name} only runs on little-endian computers, such as an Intel Mac."
 		exit 1
 	}
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070629/52f9dfce/attachment.html


More information about the macports-changes mailing list