Date: Fri, 21 Apr 2006 18:26:24 -0600 (MDT) From: hideo <hideo@lastamericanempire.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/96154: [maintainer update] security/p5-Authen-Libwrap - Fix 5.005 "warnings" error Message-ID: <20060422002624.3F55633C1E@darwin.lastamericanempire.com> Resent-Message-ID: <200604220030.k3M0UGuT017028@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96154 >Category: ports >Synopsis: [maintainer update] security/p5-Authen-Libwrap - Fix 5.005 "warnings" error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Apr 22 00:30:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: hideo >Release: FreeBSD 7.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD darwin.lastamericanempire.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Apr 4 07:00:51 MDT 2006 hideo@darwin.lastamericanempire.com:/usr/obj/usr/src/sys/darwin amd64 >Description: Fix the build error on 5.005 due to the warnings pragma. (e.g. http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.4.2005092302/p5-Authen-Libwrap-0.20.log) >How-To-Repeat: >Fix: --- p5-Authen-Libwrap begins here --- diff -ruN /usr/ports/security/p5-Authen-Libwrap/Makefile p5-Authen-Libwrap/Makefile --- /usr/ports/security/p5-Authen-Libwrap/Makefile Mon Feb 6 04:37:05 2006 +++ p5-Authen-Libwrap/Makefile Fri Apr 21 18:12:45 2006 @@ -15,11 +15,15 @@ MAINTAINER= hideo@lastamericanempire.com COMMENT= Authen::Libwrap - access to TCP Wrappers library -BUILD_DEPENDS= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_MODBUILD= yes MAN3= Authen::Libwrap.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 'undef $$_ if /^\s*(?:no|use) warnings/o' ${WRKSRC}/Build.PL ${WRKSRC}/lib/Authen/Libwrap.pm +.endif + +.include <bsd.port.post.mk> --- p5-Authen-Libwrap ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060422002624.3F55633C1E>