[114833] trunk/dports/devel/cryptlib/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Dec 16 19:08:38 PST 2013
Revision: 114833
https://trac.macports.org/changeset/114833
Author: ryandesign at macports.org
Date: 2013-12-16 19:08:38 -0800 (Mon, 16 Dec 2013)
Log Message:
-----------
cryptlib: fix build conflict with self by using -isystem instead of -I (#41815)
Modified Paths:
--------------
trunk/dports/devel/cryptlib/Portfile
Modified: trunk/dports/devel/cryptlib/Portfile
===================================================================
--- trunk/dports/devel/cryptlib/Portfile 2013-12-17 02:39:16 UTC (rev 114832)
+++ trunk/dports/devel/cryptlib/Portfile 2013-12-17 03:08:38 UTC (rev 114833)
@@ -51,7 +51,7 @@
patch-tools-ccopts.sh.diff
# Build fails when compiler is gcc or llvm-gcc; warnings are printed when compiler is clang.
-conflicts_build unixODBC ${name}
+conflicts_build unixODBC
use_configure no
@@ -59,6 +59,8 @@
build.env CC="${configure.cc}" \
PREFIX="${prefix}"
+configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include
+
foreach arch ${universal_archs} {
lappend merger_build_env(${arch}) CFLAGS='${configure.cflags} ${configure.cppflags} -arch ${arch}'
lappend merger_build_env(${arch}) LDFLAGS='-arch ${arch}'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131216/c5652aa9/attachment.html>
More information about the macports-changes
mailing list