[153382] trunk/dports/devel/gpgme/Portfile
devans at macports.org
devans at macports.org
Thu Sep 29 11:43:43 PDT 2016
Revision: 153382
https://trac.macports.org/changeset/153382
Author: devans at macports.org
Date: 2016-09-29 11:43:43 -0700 (Thu, 29 Sep 2016)
Log Message:
-----------
gpgme: only build cpp bindings if stdlib is libc++ (#52383).
Modified Paths:
--------------
trunk/dports/devel/gpgme/Portfile
Modified: trunk/dports/devel/gpgme/Portfile
===================================================================
--- trunk/dports/devel/gpgme/Portfile 2016-09-29 18:42:12 UTC (rev 153381)
+++ trunk/dports/devel/gpgme/Portfile 2016-09-29 18:43:43 UTC (rev 153382)
@@ -52,7 +52,18 @@
# enable cl cpp language bindings for now to avoid opportunistic failures (#52341)
# TODO: add bindings for python and qt
-configure.args --enable-languages="cl cpp" \
+
+lappend languages cl
+
+# cpp bindings require libc++
+
+platform darwin {
+ if {${configure.cxx_stdlib} eq "libc++"} {
+ lappend languages cpp
+ }
+}
+
+configure.args --enable-languages="${languages}" \
--enable-static
post-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160929/2256e0d2/attachment.html>
More information about the macports-changes
mailing list