Mon Sep 15 13:05:20 2008 UTC ()
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.


(he)
diff -r1.2 -r1.3 pkgsrc/devel/p5-POE-Test-Loops/Makefile

cvs diff -r1.2 -r1.3 pkgsrc/devel/p5-POE-Test-Loops/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-POE-Test-Loops/Makefile 2008/09/15 12:27:45 1.2
+++ pkgsrc/devel/p5-POE-Test-Loops/Makefile 2008/09/15 13:05:20 1.3
@@ -1,29 +1,34 @@ @@ -1,29 +1,34 @@
1# $NetBSD: Makefile,v 1.2 2008/09/15 12:27:45 he Exp $ 1# $NetBSD: Makefile,v 1.3 2008/09/15 13:05:20 he Exp $
2 2
3DISTNAME= POE-Test-Loops-1.002 3DISTNAME= POE-Test-Loops-1.002
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5PKGREVISION= 1 5PKGREVISION= 2
6CATEGORIES= devel perl5 6CATEGORIES= devel perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=POE/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=POE/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://search.cpan.org/dist/POE-Test-Loops/ 10HOMEPAGE= http://search.cpan.org/dist/POE-Test-Loops/
11COMMENT= Perl module providing reusable tests for POE::Loop authors 11COMMENT= Perl module providing reusable tests for POE::Loop authors
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15PERL5_PACKLIST= auto/POE/Test/Loops/.packlist 15PERL5_PACKLIST= auto/POE/Test/Loops/.packlist
16 16
17TESTS_TO_FIX= comp_tcp_concurrent.pm all_errors.pm comp_tcp.pm \ 17TESTS_TO_FIX= comp_tcp_concurrent.pm all_errors.pm comp_tcp.pm \
18 connect_errors.pm k_alarms.pm k_aliases.pm k_detach.pm \ 18 connect_errors.pm k_alarms.pm k_aliases.pm k_detach.pm \
19 k_selects.pm k_sig_child.pm k_signals.pm sbk_signal_init.pm \ 19 k_selects.pm k_sig_child.pm k_signals.pm sbk_signal_init.pm \
20 ses_nfa.pm ses_session.pm wheel_accept.pm wheel_curses.pm \ 20 ses_nfa.pm ses_session.pm wheel_accept.pm wheel_curses.pm \
21 wheel_readline.pm wheel_readwrite.pm wheel_run.pm wheel_sf_ipv6.pm \ 21 wheel_readline.pm wheel_readwrite.pm wheel_run.pm wheel_sf_ipv6.pm \
22 wheel_sf_tcp.pm wheel_sf_udp.pm wheel_sf_unix.pm wheel_tail.pm 22 wheel_sf_tcp.pm wheel_sf_udp.pm wheel_sf_unix.pm wheel_tail.pm
23 23
24.for t in ${TESTS_TO_FIX} 24.for t in ${TESTS_TO_FIX}
25REPLACE_PERL+= lib/POE/Test/Loops/${t} 25REPLACE_PERL+= lib/POE/Test/Loops/${t}
26.endfor 26.endfor
27 27
 28SUBST_CLASSES+= perl
 29SUBST_STAGE.perl= post-configure
 30SUBST_FILES.perl= lib/POE/Test/Loops.pm
 31SUBST_SED.perl= -e 's,\#!/usr/bin/perl,\#!${PERL5},g'
 32
28.include "../../lang/perl5/module.mk" 33.include "../../lang/perl5/module.mk"
29.include "../../mk/bsd.pkg.mk" 34.include "../../mk/bsd.pkg.mk"