aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/rat
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-12-21 00:53:25 +0800
committerarved <arved@FreeBSD.org>2006-12-21 00:53:25 +0800
commitb3a5277823f2696a3e059699ee9a84c59d446616 (patch)
treeab5f2d8937a78847cf5f444a85b46671c1a337d2 /mbone/rat
parent49442b4d66767829feab10dd028ee6a3b20041e4 (diff)
downloadfreebsd-ports-gnome-b3a5277823f2696a3e059699ee9a84c59d446616.tar.gz
freebsd-ports-gnome-b3a5277823f2696a3e059699ee9a84c59d446616.tar.zst
freebsd-ports-gnome-b3a5277823f2696a3e059699ee9a84c59d446616.zip
Fix build with gcc41
portlint
Diffstat (limited to 'mbone/rat')
-rw-r--r--mbone/rat/Makefile8
1 files changed, 6 insertions, 2 deletions
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