Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2014 11:55:29 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364429 - in head/devel/p5-Data-Peek: . files
Message-ID:  <53e60c31.23a6.30784c14@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Aug  9 11:55:28 2014
New Revision: 364429
URL: http://svnweb.freebsd.org/changeset/ports/364429
QAT: https://qat.redports.org/buildarchive/r364429/

Log:
  devel/p5-Data-Peek: make non-interactive

Added:
  head/devel/p5-Data-Peek/files/
  head/devel/p5-Data-Peek/files/patch-Makefile.PL   (contents, props changed)
Modified:
  head/devel/p5-Data-Peek/Makefile

Modified: head/devel/p5-Data-Peek/Makefile
==============================================================================
--- head/devel/p5-Data-Peek/Makefile	Sat Aug  9 11:50:13 2014	(r364428)
+++ head/devel/p5-Data-Peek/Makefile	Sat Aug  9 11:55:28 2014	(r364429)
@@ -18,4 +18,7 @@ TEST_DEPENDS=	p5-Test-NoWarnings>=0:${PO
 USES=		perl5 tar:tgz
 USE_PERL5=	configure
 
+post-stage:
+	${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Data/Peek/Peek.so
+
 .include <bsd.port.mk>

Added: head/devel/p5-Data-Peek/files/patch-Makefile.PL
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Data-Peek/files/patch-Makefile.PL	Sat Aug  9 11:55:28 2014	(r364429)
@@ -0,0 +1,14 @@
+--- ./Makefile.PL.orig	2014-01-01 12:53:34.000000000 +0100
++++ ./Makefile.PL	2014-08-09 13:50:03.000000000 +0200
+@@ -33,9 +33,9 @@
+ $ExtUtils::MakeMaker::VERSION > 6.30 and $wm{LICENSE} = "perl";
+ 
+ unless (exists $ENV{AUTOMATED_TESTING} and $ENV{AUTOMATED_TESTING} == 1) {
+-    if (prompt ("Do you want to install module DP as a shortcut for Data::Peek ?", "y") =~ m/[yY]/) {
++    {
+ 	local $/;
+-	open my $pm, "<", "Peek.pm" or die "CAnnot read Peek.pm: $!\n";
++	open my $pm, "<", "Peek.pm" or die "Cannot read Peek.pm: $!\n";
+ 	my $vsn = do { <$pm> =~ m/^\$VERSION\s*=\s*"([0-9._]+)/m; $1 };
+ 	close   $pm;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e60c31.23a6.30784c14>