Date: Wed, 28 Oct 2009 10:00:08 GMT From: poyopoyo@puripuri.plala.or.jp To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/140040: [PATCH] net/mpd unbreak Message-ID: <200910281000.n9SA08Ur052297@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/140040; it has been noted by GNATS. From: poyopoyo@puripuri.plala.or.jp To: bug-followup@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910281000.n9SA08Ur052297>