diff options
author | naddy <naddy@FreeBSD.org> | 2003-03-06 07:47:50 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-03-06 07:47:50 +0800 |
commit | 00c33b2450c1d42fdaa708e98a86fa5a8e44ce71 (patch) | |
tree | 87b06b6555b618b54bb2e7206195fa5f5aed512f /www/p5-CGI-Cache/Makefile | |
parent | 36a9e979eca08f0b00ef462817a11f2da37e98c5 (diff) | |
download | freebsd-ports-gnome-00c33b2450c1d42fdaa708e98a86fa5a8e44ce71.tar.gz freebsd-ports-gnome-00c33b2450c1d42fdaa708e98a86fa5a8e44ce71.tar.zst freebsd-ports-gnome-00c33b2450c1d42fdaa708e98a86fa5a8e44ce71.zip |
Fix build for 5.0 and for 4.x with lang/perl5 installed.
PR: 48781
Submitted by: Jens Rehsack <rehsack@liwing.de>
Approved by: petef
Diffstat (limited to 'www/p5-CGI-Cache/Makefile')
-rw-r--r-- | www/p5-CGI-Cache/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/www/p5-CGI-Cache/Makefile b/www/p5-CGI-Cache/Makefile index 9b8ae1b54bca..778c332d8953 100644 --- a/www/p5-CGI-Cache/Makefile +++ b/www/p5-CGI-Cache/Makefile @@ -13,17 +13,24 @@ MASTER_SITE_SUBDIR= CGI PKGNAMEPREFIX= p5- MAINTAINER= petef@FreeBSD.org +COMMENT= Perl extension to cache output of time-intensive CGI scripts 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> |