[32882] trunk/dports/x11/gtk28/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jan 14 02:47:53 PST 2008


Revision: 32882
          http://trac.macosforge.org/projects/macports/changeset/32882
Author:   ryandesign at macports.org
Date:     2008-01-14 02:47:52 -0800 (Mon, 14 Jan 2008)

Log Message:
-----------
gtk28: use `return -code error` instead of `ui_msg` followed by `exit` because `exit` no longer exists in MacPorts.

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

Modified: trunk/dports/x11/gtk28/Portfile
===================================================================
--- trunk/dports/x11/gtk28/Portfile	2008-01-14 10:46:49 UTC (rev 32881)
+++ trunk/dports/x11/gtk28/Portfile	2008-01-14 10:47:52 UTC (rev 32882)
@@ -50,8 +50,7 @@
 
 pre-activate {
 	if { [file exists ${prefix}/lib/libgtk-x11-2.0.dylib] } {
-		ui_msg "\nThis port conflicts with gtk2.  Please uninstall (or deactivate) the\ngtk2 port and try reinstalling this port.\n"
-		exit 1
+		return -code error "\nThis port conflicts with gtk2.  Please uninstall (or deactivate) the\ngtk2 port and try reinstalling this port.\n"
 	}
 }
 

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


More information about the macports-changes mailing list