[27260] trunk/dports/print/scribus/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 26 00:04:34 PDT 2007


Revision: 27260
          http://trac.macosforge.org/projects/macports/changeset/27260
Author:   takanori at macports.org
Date:     2007-07-26 00:04:33 -0700 (Thu, 26 Jul 2007)

Log Message:
-----------
use return instead of exit.

Modified Paths:
--------------
    trunk/dports/print/scribus/Portfile

Modified: trunk/dports/print/scribus/Portfile
===================================================================
--- trunk/dports/print/scribus/Portfile	2007-07-26 07:04:17 UTC (rev 27259)
+++ trunk/dports/print/scribus/Portfile	2007-07-26 07:04:33 UTC (rev 27260)
@@ -43,9 +43,7 @@
                 --disable-dependency-tracking --mandir=${prefix}/share/man
 pre-configure {
     if {[file exists ${prefix}/bin/cups-config]} {
-        ui_error "port:cups-headers may prevent building this port."
-        ui_error "Please uninstall (or deactivate) cups-headers and restart the build."
-        exit 1
+        return -code error "port:cups-headers may prevent building this port. Please uninstall (or deactivate) cups-headers and restart the build."
     }
 }
 

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


More information about the macports-changes mailing list