Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 20:38:02 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372813 - head/misc/amanda-server
Message-ID:  <201411192038.sAJKc22j096672@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411192038.sAJKc22j096672>