Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 11:20:52 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343733 - head/security/ipsec-tools
Message-ID:  <201402111120.s1BBKq4H053802@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402111120.s1BBKq4H053802>