[114314] trunk/dports/graphics/gimp2/Portfile

devans at macports.org devans at macports.org
Wed Dec 4 21:45:06 PST 2013


Revision: 114314
          https://trac.macports.org/changeset/114314
Author:   devans at macports.org
Date:     2013-12-04 21:45:06 -0800 (Wed, 04 Dec 2013)
Log Message:
-----------
gimp2: fix webkit-gtk dependencies, one version not both.

Modified Paths:
--------------
    trunk/dports/graphics/gimp2/Portfile

Modified: trunk/dports/graphics/gimp2/Portfile
===================================================================
--- trunk/dports/graphics/gimp2/Portfile	2013-12-05 05:09:18 UTC (rev 114313)
+++ trunk/dports/graphics/gimp2/Portfile	2013-12-05 05:45:06 UTC (rev 114314)
@@ -82,11 +82,6 @@
     } else {
         set cxx_stdlib libstdc++
     }
-
-    if {${cxx_stdlib} == "libstdc++"} {
-       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
-       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
-    }
 }
 
 patchfiles      patch-etc-gimprc.diff \
@@ -205,8 +200,13 @@
 #
 
 variant help_browser description {Enable Gimp help browser} {
-    depends_lib-append      path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
     configure.args-delete   --without-webkit
+
+    if {${cxx_stdlib} == "libstdc++"} {
+            depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
+    } else {
+            depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
+    }
 }
 
 default_variants +help_browser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131204/a5e121c5/attachment.html>


More information about the macports-changes mailing list