[114765] users/devans/GNOME-3/stable/dports/gnome/empathy/Portfile

devans at macports.org devans at macports.org
Sat Dec 14 14:25:51 PST 2013


Revision: 114765
          https://trac.macports.org/changeset/114765
Author:   devans at macports.org
Date:     2013-12-14 14:25:51 -0800 (Sat, 14 Dec 2013)
Log Message:
-----------
GNOME-3/stable/dports: empathy, sync with trunk.

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

Modified: users/devans/GNOME-3/stable/dports/gnome/empathy/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/empathy/Portfile	2013-12-14 22:12:57 UTC (rev 114764)
+++ users/devans/GNOME-3/stable/dports/gnome/empathy/Portfile	2013-12-14 22:25:51 UTC (rev 114765)
@@ -5,6 +5,7 @@
 
 name            empathy
 version         3.10.2
+revision        1
 license         GPL-2+ LGPL-2.1+ GFDL-1.3+ Attribution-ShareAlike-3.0
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description     Empathy is an instant-messaging(chat) program for GNOME
@@ -43,7 +44,7 @@
                 port:libnotify \
                 port:gcr \
                 port:pulseaudio \
-                port:webkit-gtk3 \
+                path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \
                 port:libsoup \
                 port:libgee  \
                 port:telepathy-farstream \
@@ -62,6 +63,26 @@
                 port:gnome-settings-daemon \
                 port:yelp
 
+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
+    }
+}
+
 patchfiles      patch-configure.diff
 
 configure.args  --x-includes=${prefix}/include \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131214/cba5abf4/attachment.html>


More information about the macports-changes mailing list