From 133081639629d3a686bf2572f801e2cdba1e875d Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 4 Jul 2007 17:26:40 +0000 Subject: - Fix build with gcc 4.2 Submitted by: danfe@ (thanks) Approved by: maintainer via privat mail --- net/nepenthes/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'net/nepenthes') diff --git a/net/nepenthes/Makefile b/net/nepenthes/Makefile index ed5320c6f6d4..61de4c31c55d 100644 --- a/net/nepenthes/Makefile +++ b/net/nepenthes/Makefile @@ -38,10 +38,8 @@ CONFIGURE_ARGS+= --mandir=${PREFIX}/man --infodir=${PREFIX}/info DOCS= README README.VFS logo-shaded.svg MAN8= nepenthes.8 -.include +post-patch: + @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ + ${REINPLACE_CMD} -e 's,-Werror,,' -.if ${OSVERSION} >= 700000 -BROKEN= Does not compile -.endif - -.include +.include -- cgit v1.2.3