sysutils/rsnapshot: unbreak with Perl 5.18

- Backport an upstreamed patch which unbreaks rsnapshot with Perl >= 5.18.
- Bump PORTREVISION

PR:		195446
Differential Revision:	https://reviews.freebsd.org/D1324
Submitted by:	David O'Rourke <dor.bsd@fastmail.fm>
Approved by:	remko (maintainer)
Approved by:	koobs (mentor)
This commit is contained in:
Johannes Jost Meixner 2014-12-17 12:04:45 +00:00
parent 0e68dcc6e0
commit 5b52046b81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374842
2 changed files with 16 additions and 8 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= rsnapshot
PORTVERSION= 1.3.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.rsnapshot.org/downloads/
@ -27,10 +27,4 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.pre.mk>
.if ${PERL_VER} >= 5.18
BROKEN= Does not build with Perl 5.18 or above
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -0,0 +1,14 @@
# Description: rsnapshot doesn't build with perl >= 5.18 pod2man otherwise
# Issue ID: https://github.com/DrHyde/rsnapshot/issues/8
#
--- rsnapshot-program.pl.orig 2014-12-07 09:17:47 UTC
+++ rsnapshot-program.pl
@@ -6716,6 +6716,8 @@ Putting it all together (an example file
=back
+=back
+
=head1 USAGE
B<rsnapshot> can be used by any user, but for system-wide backups