Date: Fri, 28 Feb 2003 13:53:48 GMT From: Jens Rehsack <rehsack@liwing.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jens Rehsack <rehsack@liwing.de>, petef@FreeBSD.org Subject: ports/48781: PATCH for www/p5-CGI-Cache for working with Perl 5.6.1 (and FreeBSD-5.0!) Message-ID: <200302281353.h1SDrmVw067850@helo.liwing.de>
next in thread | raw e-mail | index | archive | help
>Number: 48781 >Category: ports >Synopsis: PATCH for www/p5-CGI-Cache for working with Perl 5.6.1 (and FreeBSD-5.0!) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 28 06:00:29 PST 2003 >Closed-Date: >Last-Modified: >Originator: Jens Rehsack >Release: FreeBSD 4.7-STABLE i386 >Organization: LiWing IT-Services >Environment: System: FreeBSD fozzie.muppets.liwing.de 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Feb 2 21:10:03 GMT 2003 root@fozzie.muppets.liwing.de:/usr/obj/usr/src/sys/FOZZIE i386 Not machine specific, but perl 5.6.1 or higher ;-) >Description: build dependent port devel/p5-File-Spec is for perl 5.6.0 or lower. Perl 5.6.1+ have it included in the "delivery state" >How-To-Repeat: (Re-)Install www/p5-CGI-Cache while having perl 5.6.1 installed and activated (use.perl ports) >Fix: --- patch-Makefile begins here --- --- www/p5-CGI-Cache/Makefile.orig Fri Feb 28 13:32:40 2003 +++ www/p5-CGI-Cache/Makefile Fri Feb 28 13:39:19 2003 @@ -15,15 +15,21 @@ MAINTAINER= petef@FreeBSD.org BUILD_DEPENDS= ${SITE_PERL}/File/Cache.pm:${PORTSDIR}/devel/p5-File-Cache \ - ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec \ ${SITE_PERL}/Cache/SizeAwareFileCache.pm:${PORTSDIR}/devel/p5-Cache-Cache \ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} <= 500600 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec +.endif + RUN_DEPENDS= ${BUILD_DEPENDS} -SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= CGI::Cache.3 -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- patch-Makefile ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302281353.h1SDrmVw067850>