cvs commit: ports/net/nepenthes Makefile

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jul 4 12:01:06 UTC 2007


On Wed, Jul 04, 2007 at 11:39:16AM +0000, Martin Wilke wrote:
> miwi        2007-07-04 11:39:16 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     net/nepenthes        Makefile 
>   Log:
>   - Marked  Broken does not compile with gcc 4.2

How about attached patch?

./danfe
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/nepenthes/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	4 Jul 2007 11:39:16 -0000	1.14
+++ Makefile	4 Jul 2007 12:00:15 -0000
@@ -38,10 +38,8 @@
 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>


More information about the cvs-ports mailing list