From 8ca07f10991d0dbb97fc5b97ba3f464cd1c63aef Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Wed, 20 Dec 2006 16:53:25 +0000 Subject: [PATCH] Fix build with gcc41 portlint --- audio/rat/Makefile | 8 ++++++-- mbone/rat/Makefile | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/audio/rat/Makefile b/audio/rat/Makefile index 06ca599d6c7a..396012c8447e 100644 --- a/audio/rat/Makefile +++ b/audio/rat/Makefile @@ -38,13 +38,17 @@ ENABLE_IPv6= --enable-ipv6 .endif .if ${OSVERSION} >= 700011 -EXTRA_PATCHES= ${FILESDIR}/timet.patch +EXTRA_PATCHES= ${FILESDIR}/timet.patch .endif .if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" +BROKEN= Does not compile on !i386 .endif +post-patch: + ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/common/configure.in \ + ${WRKSRC}/rat/configure.in + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT} ${PREFIX}/bin/${RAT} ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-ui ${PREFIX}/bin/${RAT}-ui diff --git a/mbone/rat/Makefile b/mbone/rat/Makefile index 06ca599d6c7a..396012c8447e 100644 --- a/mbone/rat/Makefile +++ b/mbone/rat/Makefile @@ -38,13 +38,17 @@ ENABLE_IPv6= --enable-ipv6 .endif .if ${OSVERSION} >= 700011 -EXTRA_PATCHES= ${FILESDIR}/timet.patch +EXTRA_PATCHES= ${FILESDIR}/timet.patch .endif .if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" +BROKEN= Does not compile on !i386 .endif +post-patch: + ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/common/configure.in \ + ${WRKSRC}/rat/configure.in + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT} ${PREFIX}/bin/${RAT} ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-ui ${PREFIX}/bin/${RAT}-ui