svn commit: r343733 - head/security/ipsec-tools
Baptiste Daroussin
bapt at FreeBSD.org
Tue Feb 11 11:20:53 UTC 2014
Author: bapt
Date: Tue Feb 11 11:20:52 2014
New Revision: 343733
URL: http://svnweb.freebsd.org/changeset/ports/343733
QAT: https://qat.redports.org/buildarchive/r343733/
Log:
Remove CFLAGS unsupported by ancient gcc and just remove -Werror to have the code build with clang
Reported by: olgeni
Modified:
head/security/ipsec-tools/Makefile
Modified: head/security/ipsec-tools/Makefile
==============================================================================
--- head/security/ipsec-tools/Makefile Tue Feb 11 10:54:24 2014 (r343732)
+++ head/security/ipsec-tools/Makefile Tue Feb 11 11:20:52 2014 (r343733)
@@ -23,9 +23,6 @@ USE_BZIP2= yes
INSTALL_TARGET= install-strip
-CFLAGS+= -Wno-knr-promoted-parameter \
- -Wno-sizeof-pointer-memaccess \
- -Wno-incompatible-pointer-types
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -161,6 +158,9 @@ CONFIGURE_ARGS+= --enable-idea
CONFIGURE_ARGS+= --disable-idea
.endif
+post-patch:
+ @${REINPLACE_CMD} -e "s/-Werror//g" ${WRKSRC}/configure
+
post-install:
@${MKDIR} ${STAGEDIR}/${PREFIX}/etc/racoon
@if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && ${ECHO_CMD} ipsec` ]; then \
More information about the svn-ports-head
mailing list