[27242] trunk/dports/devel/oniguruma/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 25 08:34:56 PDT 2007


Revision: 27242
          http://trac.macosforge.org/projects/macports/changeset/27242
Author:   yves at macports.org
Date:     2007-07-25 08:34:55 -0700 (Wed, 25 Jul 2007)

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

Modified Paths:
--------------
    trunk/dports/devel/oniguruma/Portfile

Modified: trunk/dports/devel/oniguruma/Portfile
===================================================================
--- trunk/dports/devel/oniguruma/Portfile	2007-07-25 15:31:40 UTC (rev 27241)
+++ trunk/dports/devel/oniguruma/Portfile	2007-07-25 15:34:55 UTC (rev 27242)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 name            oniguruma
 version         4.6.2
-revision         1
+revision        1
 maintainers     nomaintainer at macports.org
 categories      devel
 platforms       darwin
@@ -20,9 +20,11 @@
 checksums       md5 720291233bc663111e05031ec78467a1
 
 pre-fetch {
-    ui_msg "Please use either 
+    return -code error "
+            
+            Please use either 
                 oniguruma4 (for ruby support) 
             or 
-                oniguruma5 (for unicode support)"
-    exit 0
+                oniguruma5 (for unicode support)
+            "
 }

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


More information about the macports-changes mailing list