From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 25 08:10:12 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95B7416A400 for ; Tue, 25 Apr 2006 08:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A93C43D4C for ; Tue, 25 Apr 2006 08:10:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3P8AAxM023549 for ; Tue, 25 Apr 2006 08:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3P8AAZb023546; Tue, 25 Apr 2006 08:10:10 GMT (envelope-from gnats) Resent-Date: Tue, 25 Apr 2006 08:10:10 GMT Resent-Message-Id: <200604250810.k3P8AAZb023546@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6F3216A401 for ; Tue, 25 Apr 2006 08:04:46 +0000 (UTC) (envelope-from leeym@utopia.leeym.com) Received: from msr30.hinet.net (msr30.hinet.net [168.95.4.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D01E243D45 for ; Tue, 25 Apr 2006 08:04:45 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by msr30.hinet.net (8.9.3/8.9.3) with ESMTP id QAA16722; Tue, 25 Apr 2006 16:04:42 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 0072EB29CAE; Tue, 25 Apr 2006 16:04:42 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3NBECDsJM5jB; Tue, 25 Apr 2006 16:04:36 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 43735B29C7A; Tue, 25 Apr 2006 16:04:36 +0800 (CST) Message-Id: <20060425080436.43735B29C7A@utopia.leeym.com> Date: Tue, 25 Apr 2006 16:04:36 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: hideo@lastamericanempire.com Subject: ports/96304: [PATCH] net/p5-POE-Component-ControlPort: unbreak X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 08:10:12 -0000 >Number: 96304 >Category: ports >Synopsis: [PATCH] net/p5-POE-Component-ControlPort: unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 25 08:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 6.1-RC i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 6.1-RC FreeBSD 6.1-RC #0: Tue Apr 11 08:54:13 CST 2006 >Description: - unbreak this under old perl Port maintainer (hideo@lastamericanempire.com) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.4.2005092302/p5-POE-Component-ControlPort-0.01.log >Fix: --- p5-POE-Component-ControlPort-0.01.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/p5-POE-Component-ControlPort/Makefile,v retrieving revision 1.1 diff -u -u -r1.1 Makefile --- Makefile 6 Feb 2006 11:38:51 -0000 1.1 +++ Makefile 25 Apr 2006 08:04:11 -0000 @@ -15,10 +15,11 @@ MAINTAINER= hideo@lastamericanempire.com COMMENT= Network control port for POE applications -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \ +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \ ${SITE_PERL}/${PERL_ARCH}/Authen/Libwrap.pm:${PORTSDIR}/security/p5-Authen-Libwrap \ ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple PERL_CONFIGURE= yes @@ -29,16 +30,24 @@ .include post-extract: - @${PERL} -0pi -e 's/my \$$prompt.+(my \$$ret = )(?-s).+/$${1}0;/so' ${WRKSRC}/Makefile.PL + @${PERL} -pi -e 's/my \$$ret =.*/my \$$ret = 0;/' ${WRKSRC}/Makefile.PL .if ${PERL_LEVEL} < 500600 +RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader \ + ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools + post-patch: @${PERL} -pi -e 's/^our (\W\w+);/use vars q($$1);/o;' \ -e 's/^our\s+(\W\w+)(?!;)/use vars q($$1); $$1/o;' \ -e 'undef $$_ if /^\s*(no|use) warnings/o;' \ + ${WRKSRC}/VERSION \ + ${WRKSRC}/t/*.t \ ${WRKSRC}/lib/POE/Component/ControlPort.pm \ ${WRKSRC}/lib/POE/Component/ControlPort/DefaultCommands.pm \ ${WRKSRC}/lib/POE/Component/ControlPort/Command.pm + +post-configure: + ${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile .endif .include --- p5-POE-Component-ControlPort-0.01.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: