aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-11-20 04:38:01 +0800
committermarino <marino@FreeBSD.org>2014-11-20 04:38:01 +0800
commitdfffa61dabd6410d18844378f3563a34f70c587e (patch)
treee4409c82ae2e9f2e08a472d9ff0bcaaa6fb3efab /misc
parent434d1bf635bc72b6888a6424fd4be1fd3e22b68a (diff)
downloadfreebsd-ports-gnome-dfffa61dabd6410d18844378f3563a34f70c587e.tar.gz
freebsd-ports-gnome-dfffa61dabd6410d18844378f3563a34f70c587e.tar.zst
freebsd-ports-gnome-dfffa61dabd6410d18844378f3563a34f70c587e.zip
misc/amanda-client: Fix build with perl 5.20
PR: 194811 Submitted by: Trond Endrestol Approved by: maintainer timeout
Diffstat (limited to 'misc')
-rw-r--r--misc/amanda-server/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile
index 6d2697662470..caeb8e261b39 100644
--- a/misc/amanda-server/Makefile
+++ b/misc/amanda-server/Makefile
@@ -3,6 +3,7 @@
PORTNAME= amanda
PORTVERSION= 3.3.6
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= SF/amanda/amanda%20-%20stable/${PORTVERSION}
@@ -171,6 +172,10 @@ CFLAGS= -DFreeBSD_NO_SNAPSHOT_DUMP=t
.endif
+# See PR 194811.
+post-patch:
+ ${REINPLACE_CMD} -e 's|#undef bool||g' ${WRKSRC}/perl/Amanda/*.c
+
# MEMO:
# Prefix @WANT_SERVER_TRUE@ for server only files.
# Prefix @WANT_CLIENT_TRUE@ for client only files.