svn commit: r323119 - head/devel/p5-Lvalue

Ryan Steinmetz zi at FreeBSD.org
Tue Jul 16 18:10:31 UTC 2013


Author: zi
Date: Tue Jul 16 18:10:30 2013
New Revision: 323119
URL: http://svnweb.freebsd.org/changeset/ports/323119

Log:
  - Eliminate perl warning at load
  - Bump PORTREVISION

Modified:
  head/devel/p5-Lvalue/Makefile

Modified: head/devel/p5-Lvalue/Makefile
==============================================================================
--- head/devel/p5-Lvalue/Makefile	Tue Jul 16 18:10:12 2013	(r323118)
+++ head/devel/p5-Lvalue/Makefile	Tue Jul 16 18:10:30 2013	(r323119)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Lvalue
 PORTVERSION=	0.21
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:ASG
@@ -19,4 +20,9 @@ PERL_CONFIGURE=	yes
 
 MAN3=		Lvalue.3
 
+post-patch::
+	@${REINPLACE_CMD} -e 's|qw(can isa DOES VERSION)|(qw(can isa DOES VERSION))|g' \
+		${WRKSRC}/lib/Lvalue.pm
+	@${RM} ${WRKSRC}/lib/Lvalue.pm.bak
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list