aboutsummaryrefslogtreecommitdiffstats
path: root/net/nepenthes
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-07-05 01:26:40 +0800
committermiwi <miwi@FreeBSD.org>2007-07-05 01:26:40 +0800
commita15d17b3c7a13e8bd6b30cf9f4ebb27651cdf987 (patch)
tree4e021b6b5aaf398b539467895053a5841abc1934 /net/nepenthes
parent92d90075868bd0a66b2f7f614fb69913b57b373d (diff)
downloadfreebsd-ports-gnome-a15d17b3c7a13e8bd6b30cf9f4ebb27651cdf987.tar.gz
freebsd-ports-gnome-a15d17b3c7a13e8bd6b30cf9f4ebb27651cdf987.tar.zst
freebsd-ports-gnome-a15d17b3c7a13e8bd6b30cf9f4ebb27651cdf987.zip
- Fix build with gcc 4.2
Submitted by: danfe@ (thanks) Approved by: maintainer via privat mail
Diffstat (limited to 'net/nepenthes')
-rw-r--r--net/nepenthes/Makefile10
1 files changed, 4 insertions, 6 deletions
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 <bsd.port.pre.mk>
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \
+ ${REINPLACE_CMD} -e 's,-Werror,,'
-.if ${OSVERSION} >= 700000
-BROKEN= Does not compile
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>