[116551] users/devans/dports/genealogy/gramps/Portfile
devans at macports.org
devans at macports.org
Tue Jan 28 04:52:50 PST 2014
Revision: 116551
https://trac.macports.org/changeset/116551
Author: devans at macports.org
Date: 2014-01-28 04:52:49 -0800 (Tue, 28 Jan 2014)
Log Message:
-----------
users/devans/dports: gramps, update to version 4.0.3 for testing, add current webkit-gtk3 dependency checking.
Modified Paths:
--------------
users/devans/dports/genealogy/gramps/Portfile
Modified: users/devans/dports/genealogy/gramps/Portfile
===================================================================
--- users/devans/dports/genealogy/gramps/Portfile 2014-01-28 11:54:22 UTC (rev 116550)
+++ users/devans/dports/genealogy/gramps/Portfile 2014-01-28 12:52:49 UTC (rev 116551)
@@ -7,7 +7,7 @@
PortGroup python 1.0
-version 4.0.2
+version 4.0.3
license GPL-2
categories genealogy python
platforms darwin
@@ -24,8 +24,8 @@
homepage http://www.gramps-project.org/
master_sites sourceforge:gramps
-checksums rmd160 cf51720699cf341d82b5b2fa3afad730e5ce2633 \
- sha256 0788b60618e258bb7cf2a7ba81d71f96141b51e8ff11efe82242f2ff12062dab
+checksums rmd160 f03a316a0749a3a589edbda95e786a15b21b342c \
+ sha256 13985235d27332af461311399a90a5280a7aa516d08bcb4979d3d9edc9c7d7bf
depends_build-append port:intltool
@@ -35,13 +35,33 @@
port:gtkspell3 \
port:osm-gps-map \
port:gexiv2 \
- port:webkit-gtk3 \
+ path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \
path:bin/dot:graphviz \
port:ghostscript
-patchfiles patch-gramps-gen-utils-resourcepath.py.diff \
- patch-no-gexiv2-private.diff
+patchfiles patch-gramps-gen-utils-resourcepath.py.diff
+# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
+platform darwin {
+ set cxxstdlib {}
+
+ if {[info exists configure.cxx_stdlib] &&
+ ${configure.cxx_stdlib} ne {} &&
+ [string match *clang* ${configure.cxx}]} {
+ set cxxstdlib ${configure.cxx_stdlib}
+ } elseif {[string match *clang* ${configure.cxx}] &&
+ ${os.major} >= 13} {
+ set cxxstdlib libc++
+ } else {
+ set cxxstdlib libstdc++
+ }
+
+ if {${cxxstdlib} eq "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
+ }
+}
+
#
# supports python27 and python3 >= 3.2
# python 3 versions require py-bsddb3 for database access
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140128/333ae48a/attachment.html>
More information about the macports-changes
mailing list