[114253] trunk/dports/www/webkit-gtk/Portfile

devans at macports.org devans at macports.org
Tue Dec 3 07:29:49 PST 2013


Revision: 114253
          https://trac.macports.org/changeset/114253
Author:   devans at macports.org
Date:     2013-12-03 07:29:49 -0800 (Tue, 03 Dec 2013)
Log Message:
-----------
webkit-gtk: don't error out during portindex.

Modified Paths:
--------------
    trunk/dports/www/webkit-gtk/Portfile

Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile	2013-12-03 15:14:35 UTC (rev 114252)
+++ trunk/dports/www/webkit-gtk/Portfile	2013-12-03 15:29:49 UTC (rev 114253)
@@ -97,9 +97,11 @@
         set cxx_stdlib libstdc++
     }
 
-    if {${cxx_stdlib} == "libstdc++"} {
-       ui_error "${subport} is not supported for this installation of MacPorts.  It requires libc++ be selected as your C++ runtime.  Please use ${subport}-2.0 instead"
-       error "unsupported configuration"
+    pre-configure {
+        if {${cxx_stdlib} == "libstdc++"} {
+            ui_error "${subport} is not supported for this installation of MacPorts.  It requires libc++ be selected as your C++ runtime.  Please use ${subport}-2.0 instead"
+            error "unsupported configuration"
+        }
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131203/1888ba4f/attachment-0001.html>


More information about the macports-changes mailing list