ports/140040: [PATCH] net/mpd unbreak
poyopoyo at puripuri.plala.or.jp
poyopoyo at puripuri.plala.or.jp
Wed Oct 28 10:00:08 UTC 2009
The following reply was made to PR ports/140040; it has been noted by GNATS.
From: poyopoyo at puripuri.plala.or.jp
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/140040: [PATCH] net/mpd unbreak
Date: Wed, 28 Oct 2009 18:55:32 +0900
patch revised.
- get rid of pre.mk/post.mk that were for OSVERSION.
--- /usr/ports/net/mpd/Makefile 2009-06-14 03:07:42.000000000 +0900
+++ Makefile 2009-10-28 18:39:52.000000000 +0900
@@ -27,11 +27,10 @@
USE_RC_SUBR= mpd
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800097
-BROKEN= does not compile
-.endif
+post-patch:
+ ${FIND} ${WRKSRC}/src -type f -name \*.c \
+ | ${XARGS} ${GREP} -l 'NG_....LEN[ +1]*' \
+ | ${XARGS} ${REINPLACE_CMD} 's/\(NG_....\)LEN[ +1]*/\1SIZ/g'
pre-build:
@${ECHO}
@@ -44,4 +43,4 @@
@${MKDIR} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the freebsd-ports-bugs
mailing list