[118762] trunk/dports/devel/libssh/Portfile
cal at macports.org
cal at macports.org
Thu Apr 10 13:46:01 PDT 2014
Revision: 118762
https://trac.macports.org/changeset/118762
Author: cal at macports.org
Date: 2014-04-10 13:46:01 -0700 (Thu, 10 Apr 2014)
Log Message:
-----------
libssh: fix build in presence of older version, #42872
Modified Paths:
--------------
trunk/dports/devel/libssh/Portfile
Modified: trunk/dports/devel/libssh/Portfile
===================================================================
--- trunk/dports/devel/libssh/Portfile 2014-04-10 20:04:34 UTC (rev 118761)
+++ trunk/dports/devel/libssh/Portfile 2014-04-10 20:46:01 UTC (rev 118762)
@@ -39,9 +39,13 @@
# standard post-arg, where to find the primary CMakeLists.txt file.
configure.post_args ../${distname}
configure.dir ${workpath}/build
+# clear configure.cppflags to prevent the cmake portgroup from adding them to
+# cflags, which breaks the build in presence of an older version, because it
+# puts -I$prefix/include before the local include directories of the port
+configure.cppflags
configure.args-append \
-DWITH_GCRYPT=OFF \
- -DWITH_INTERNAL_DOC=OFF \
+ -DWITH_INTERNAL_DOC=OFF \
-DWITH_LIBZ=ON
build.dir ${workpath}/build
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140410/43d993aa/attachment.html>
More information about the macports-changes
mailing list