[32881] trunk/dports/www/mozilla

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


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

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

Modified Paths:
--------------
    trunk/dports/www/mozilla/Portfile
    trunk/dports/www/mozilla-devel/Portfile

Modified: trunk/dports/www/mozilla/Portfile
===================================================================
--- trunk/dports/www/mozilla/Portfile	2008-01-14 10:44:04 UTC (rev 32880)
+++ trunk/dports/www/mozilla/Portfile	2008-01-14 10:46:49 UTC (rev 32881)
@@ -72,10 +72,9 @@
         set fl [open "| gcc --version"]
         set data [read $fl]
         if {[regexp "build 4061" $data]} {
-            ui_msg "\n\
+            return -code error "\n\
                 Xcode 2.0 has a buggy gcc and won't build mozilla \n\
                 Upgrades are available at http://connect.apple.com/"
-            exit 1
         }
     }
     patchfiles                292530.aviary_10x.2.patch patch-oiddata.h

Modified: trunk/dports/www/mozilla-devel/Portfile
===================================================================
--- trunk/dports/www/mozilla-devel/Portfile	2008-01-14 10:44:04 UTC (rev 32880)
+++ trunk/dports/www/mozilla-devel/Portfile	2008-01-14 10:46:49 UTC (rev 32881)
@@ -61,10 +61,9 @@
         set fl [open "| gcc --version"]
         set data [read $fl]
         if {[regexp "build 4061" $data]} {
-            ui_msg "\n\
+            return -code error "\n\
                 Xcode 2.0 has a buggy gcc and won't build mozilla \n\
                 Upgrades are available at http://connect.apple.com/"
-            exit 1
         }
     }
     patchfiles-append   patch-oiddata.h

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


More information about the macports-changes mailing list