pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-POE-Test-Loops Updated from version 1.002nb1 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ac189a4c4b0
branches:  trunk
changeset: 547335:3ac189a4c4b0
user:      he <he%pkgsrc.org@localhost>
date:      Mon Sep 15 13:05:20 2008 +0000

description:
Updated from version 1.002nb1 to 1.002nb2, for better fix for PR#39550.

Use our mk/subst.mk features to substitute the #!/usr/bin/perl
embedded in lib/POE/Test/Loops.pm as well.

diffstat:

 devel/p5-POE-Test-Loops/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 51e03d58ba5a -r 3ac189a4c4b0 devel/p5-POE-Test-Loops/Makefile
--- a/devel/p5-POE-Test-Loops/Makefile  Mon Sep 15 12:46:44 2008 +0000
+++ b/devel/p5-POE-Test-Loops/Makefile  Mon Sep 15 13:05:20 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2008/09/15 12:27:45 he Exp $
+# $NetBSD: Makefile,v 1.3 2008/09/15 13:05:20 he Exp $
 
 DISTNAME=      POE-Test-Loops-1.002
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=POE/}
 
@@ -25,5 +25,10 @@
 REPLACE_PERL+= lib/POE/Test/Loops/${t}
 .endfor
 
+SUBST_CLASSES+=                perl
+SUBST_STAGE.perl=      post-configure
+SUBST_FILES.perl=      lib/POE/Test/Loops.pm
+SUBST_SED.perl=                -e 's,\#!/usr/bin/perl,\#!${PERL5},g'
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index