pkgsrc/devel/p5-POE-Test-Loops/Makefile
hiramatsu 2f4a8e6998 Update p5-POE-Test-Loops to 1.350.
Changes from previous:
------------------------------------------
version 1_350 at 2011-12-15 20:53:13 +0000
------------------------------------------

  Change: 392e713a33f57658bd31b4c47f3405890d733fbb
  Author: Rocco Caputo <rcaputo@cpan.org>
  Date : 2011-12-15 15:53:13 +0000

    Bump revision to 1.350.

  Change: db1f8f22e86f0ceb4b123d9e930e15e086e688a4
  Author: Rocco Caputo <rcaputo@cpan.org>
  Date : 2011-12-12 02:39:51 +0000

    Fix a couple tests that were using sig(CHLD).

    They were expecting POE::Resource::Sessions to reap children at exit
    time, and that's had to change.

  Change: 677b12dc57dd417a2bc16f1359e43c796913dddb
  Author: Rocco Caputo <rcaputo@cpan.org>
  Date : 2011-12-09 11:43:57 +0000

    Add process IDs to debugging messages for some forking tests.

  Change: 1f4ecc43fb48ae9b73c684589600f7d660e2d9f0
  Author: Rocco Caputo <rcaputo@cpan.org>
  Date : 2011-12-09 11:38:35 +0000

    Disable an assertion that system() must return 0 during $SIG{CHLD}.

    Perl has a known issue where system() can return -1 (failure) when a
    $SIG{CHLD} handler is in effect, even if it succeeds. It's not POE's
    it succeeds when a $SIG{CHLD} handler is in effect. It's not POE's
    duty to work around the problem. Proper, reliable work-arounds would
    incur global overhead. Use {local $SIG{CHLD}='DEFAULT'; system(...)}
    as needed instead. And watch the skies for a Perl fix:
    https://rt.perl.org/rt3/Ticket/Display.html?id=105700

------------------------------------------
version 1_313 at 2011-06-05 22:06:45 +0000
------------------------------------------

  Change: 575e9ef0d508d5ac306fa3bd3525a5feefe6e1da
  Author: Rocco Caputo <rcaputo@cpan.org>
  Date : 2011-06-05 18:06:45 +0000

    Require Test::More 0.94. Dist::Zilla's ReportVersinos plugin wants
    it.
2012-02-17 06:59:32 +00:00

39 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2012/02/17 06:59:32 hiramatsu Exp $
DISTNAME= POE-Test-Loops-1.350
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=POE/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/POE-Test-Loops/
COMMENT= Perl module providing reusable tests for POE::Loop authors
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/POE/Test/Loops/.packlist
TESTS_TO_FIX= 00_info.pm comp_tcp_concurrent.pm all_errors.pm comp_tcp.pm \
connect_errors.pm k_alarms.pm k_aliases.pm k_detach.pm \
k_run_returns.pm k_selects.pm k_sig_child.pm k_signals.pm \
k_signals_rerun.pm sbk_signal_init.pm \
ses_nfa.pm ses_session.pm wheel_accept.pm wheel_curses.pm \
wheel_readline.pm wheel_readwrite.pm wheel_run.pm wheel_sf_ipv6.pm \
wheel_sf_tcp.pm wheel_sf_udp.pm wheel_sf_unix.pm wheel_tail.pm \
z_kogman_sig_order.pm \
z_leolo_wheel_run.pm z_merijn_sigchld_system.pm z_rt39872_sigchld.pm \
z_rt39872_sigchld_stop.pm z_rt53302_fh_watchers.pm \
z_rt54319_bazerka_followtail.pm z_steinert_signal_integrity.pm
.for t in ${TESTS_TO_FIX}
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"