[32878] trunk/dports/multimedia/mimms/Portfile

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


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

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

Modified Paths:
--------------
    trunk/dports/multimedia/mimms/Portfile

Modified: trunk/dports/multimedia/mimms/Portfile
===================================================================
--- trunk/dports/multimedia/mimms/Portfile	2008-01-14 10:23:10 UTC (rev 32877)
+++ trunk/dports/multimedia/mimms/Portfile	2008-01-14 10:33:00 UTC (rev 32878)
@@ -25,12 +25,11 @@
 depends_lib     port:libmms
 pre-fetch {
     if {![variant_isset qt4] && ![variant_isset qt4_mac]} {
-        ui_msg "###########################################################"
-        ui_msg "# mimms will not compile unless one of the +qt4 or +qt4_mac\
-        \n# variants are selected.  Please choose one of these variants to\
-        build."
-        ui_msg "###########################################################"
-        exit 1
+        return -code error "
+###########################################################
+# mimms will not compile unless one of the +qt4 or +qt4_mac
+# variants are selected.  Please choose one of these variants to build.
+###########################################################"
     }
 }
 configure {

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


More information about the macports-changes mailing list