svn commit: r309859 - head/devel/p5-Return-Value

Anton Berezin tobez at FreeBSD.org
Thu Jan 3 09:21:30 UTC 2013


Author: tobez
Date: Thu Jan  3 09:21:29 2013
New Revision: 309859
URL: http://svnweb.freebsd.org/changeset/ports/309859

Log:
  Remove deprecation warning introduced with the last update.
  
  Unfortunately, this port is depended on by quite a few other ports,
  so we do not want the deprecation warning at this stage.
  
  Patch up the sources instead of a more drastic PORTEPOCH bump.
  
  PR:			174904
  Submitted by:	Olli Hauer

Modified:
  head/devel/p5-Return-Value/Makefile

Modified: head/devel/p5-Return-Value/Makefile
==============================================================================
--- head/devel/p5-Return-Value/Makefile	Thu Jan  3 09:08:10 2013	(r309858)
+++ head/devel/p5-Return-Value/Makefile	Thu Jan  3 09:21:29 2013	(r309859)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Return-Value
 PORTVERSION=	1.666002
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:RJBS
@@ -15,4 +16,7 @@ PERL_CONFIGURE=	yes
 
 MAN3=	Return::Value.3
 
+post-patch:
+	${PERL} -pi -e 's/^Carp::cluck/# Carp::cluck/' ${WRKSRC}/lib/Return/Value.pm
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list