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

source_changes at macosforge.org source_changes at macosforge.org
Sun Jul 22 10:50:23 PDT 2007


Revision: 27164
          http://trac.macosforge.org/projects/macports/changeset/27164
Author:   ryandesign at macports.org
Date:     2007-07-22 10:50:22 -0700 (Sun, 22 Jul 2007)

Log Message:
-----------
wine: use 'return' instead of 'ui_error' and 'exit' (which no longer exists)

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

Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile	2007-07-22 15:19:27 UTC (rev 27163)
+++ trunk/dports/x11/wine/Portfile	2007-07-22 17:50:22 UTC (rev 27164)
@@ -53,8 +53,7 @@
 
 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
+		return -code error "${name} only runs on little-endian computers, such as an Intel Mac."
 	}
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070722/5fdedbf0/attachment.html


More information about the macports-changes mailing list