[141068] trunk/dports/security/KeePassX/Portfile

eborisch at macports.org eborisch at macports.org
Fri Oct 9 07:25:55 PDT 2015


Revision: 141068
          https://trac.macports.org/changeset/141068
Author:   eborisch at macports.org
Date:     2015-10-09 07:25:55 -0700 (Fri, 09 Oct 2015)
Log Message:
-----------
KeePassX: Check configure.cxx_stdlib to determine C++11 config.

Modified Paths:
--------------
    trunk/dports/security/KeePassX/Portfile

Modified: trunk/dports/security/KeePassX/Portfile
===================================================================
--- trunk/dports/security/KeePassX/Portfile	2015-10-09 14:18:56 UTC (rev 141067)
+++ trunk/dports/security/KeePassX/Portfile	2015-10-09 14:25:55 UTC (rev 141068)
@@ -8,7 +8,7 @@
 github.setup            keepassx keepassx 2.0-beta2
 
 name                    KeePassX
-revision                1
+revision                2
 categories              security aqua
 maintainers             nomaintainer
 
@@ -43,14 +43,8 @@
 configure.pre_args-append \
     -DCMAKE_INSTALL_PREFIX=${applications_dir}
 
-platform darwin {
-    if {${os.major} < 13} {
-        # Build fails with clang: unsupported -stack-protector-buffer-size=4
-        # (even though clang -help lists option)
-        # Disabling blacklist; option no longer set in source CMakeLists.txt
-        # compiler.blacklist          clang
-        configure.pre_args-append   -DWITH_CXX11=OFF
-    }
+if {${configure.cxx_stdlib} eq "libstdc++"} {
+    configure.pre_args-append   -DWITH_CXX11=OFF
 }
 
 # Don't make copies of all the QT4 libraries etc... (MUCH smaller install)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151009/ba35a1d3/attachment.html>


More information about the macports-changes mailing list