[115306] trunk/dports/security/botan/Portfile

mww at macports.org mww at macports.org
Mon Dec 30 15:58:50 PST 2013


Revision: 115306
          https://trac.macports.org/changeset/115306
Author:   mww at macports.org
Date:     2013-12-30 15:58:50 -0800 (Mon, 30 Dec 2013)
Log Message:
-----------
give clue about compiler-suite based on configure.compiler (should make compile on snow-leopard)

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

Modified: trunk/dports/security/botan/Portfile
===================================================================
--- trunk/dports/security/botan/Portfile	2013-12-30 23:43:38 UTC (rev 115305)
+++ trunk/dports/security/botan/Portfile	2013-12-30 23:58:50 UTC (rev 115306)
@@ -27,8 +27,14 @@
 worksrcdir          Botan-${version}
 
 configure.cmd       ./configure.py
-configure.args      --docdir=share/doc --cc=${configure.compiler} --with-openssl --with-zlib --with-bzip2
+configure.args      --docdir=share/doc --with-openssl --with-zlib --with-bzip2
 
+if {[string match *clang* ${configure.compiler}]} {
+  configure.args-append --cc=clang
+} elseif {[string match *gcc* ${configure.compiler}]} {
+  configure.args-append --cc=gcc
+}
+
 destroot.destdir    DESTDIR=${destroot}${prefix}
 
 platform darwin { configure.args-append --os=darwin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131230/e10f4018/attachment.html>


More information about the macports-changes mailing list