[114684] users/devans/GNOME-3/stable/dports/gnome/yelp/Portfile

devans at macports.org devans at macports.org
Fri Dec 13 14:14:39 PST 2013


Revision: 114684
          https://trac.macports.org/changeset/114684
Author:   devans at macports.org
Date:     2013-12-13 14:14:39 -0800 (Fri, 13 Dec 2013)
Log Message:
-----------
GNOME-3/stable/dports: yelp, sync with trunk.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/yelp/Portfile

Modified: users/devans/GNOME-3/stable/dports/gnome/yelp/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/yelp/Portfile	2013-12-13 22:11:11 UTC (rev 114683)
+++ users/devans/GNOME-3/stable/dports/gnome/yelp/Portfile	2013-12-13 22:14:39 UTC (rev 114684)
@@ -34,7 +34,7 @@
                 port:gnome-icon-theme \
                 port:gnome-icon-theme-symbolic \
                 port:gtk3 \
-                port:webkit-gtk3 \
+                path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \
                 port:sqlite3 \
                 port:xz \
                 port:bzip2 \
@@ -59,4 +59,24 @@
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
 }
 
+platform darwin {
+    set cxx_stdlib {}
+
+    if {[info exists configure.cxx_stdlib] &&
+        ${configure.cxx_stdlib} ne {} &&
+        [string match *clang* ${configure.cxx}]} {
+        set cxx_stdlib ${configure.cxx_stdlib}
+    } elseif {[string match *clang* ${configure.cxx}] &&
+              ${os.major} >= 13} {
+        set cxx_stdlib libc++
+    } else {
+        set cxx_stdlib libstdc++
+    }
+
+    if {${cxx_stdlib} == "libstdc++"} {
+       depends_lib-delete path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
+       depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0
+    }
+}
+
 livecheck.type  gnome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131213/74944211/attachment.html>


More information about the macports-changes mailing list