[56052] trunk/dports/x11

ryandesign at macports.org ryandesign at macports.org
Sun Aug 23 15:32:28 PDT 2009


Revision: 56052
          http://trac.macports.org/changeset/56052
Author:   ryandesign at macports.org
Date:     2009-08-23 15:32:27 -0700 (Sun, 23 Aug 2009)
Log Message:
-----------
wine, wine-devel: improve error message printed on incompatible computers

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

Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile	2009-08-23 22:26:48 UTC (rev 56051)
+++ trunk/dports/x11/wine/Portfile	2009-08-23 22:32:27 UTC (rev 56052)
@@ -72,8 +72,9 @@
 }
 
 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"
     }
 }
 

Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile	2009-08-23 22:26:48 UTC (rev 56051)
+++ trunk/dports/x11/wine-devel/Portfile	2009-08-23 22:32:27 UTC (rev 56052)
@@ -73,8 +73,9 @@
 }
 
 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"
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090823/791ee1d6/attachment.html>


More information about the macports-changes mailing list