svn commit: r372813 - head/misc/amanda-server
John Marino
marino at FreeBSD.org
Wed Nov 19 20:38:02 UTC 2014
Author: marino
Date: Wed Nov 19 20:38:01 2014
New Revision: 372813
URL: https://svnweb.freebsd.org/changeset/ports/372813
QAT: https://qat.redports.org/buildarchive/r372813/
Log:
misc/amanda-client: Fix build with perl 5.20
PR: 194811
Submitted by: Trond Endrestol
Approved by: maintainer timeout
Modified:
head/misc/amanda-server/Makefile
Modified: head/misc/amanda-server/Makefile
==============================================================================
--- head/misc/amanda-server/Makefile Wed Nov 19 20:35:45 2014 (r372812)
+++ head/misc/amanda-server/Makefile Wed Nov 19 20:38:01 2014 (r372813)
@@ -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.
More information about the svn-ports-head
mailing list