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
This commit is contained in:
Christian Weisgerber 2003-03-05 23:47:50 +00:00
parent 0424c8c85c
commit bcad8eda11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76997
2 changed files with 10 additions and 4 deletions

View file

@ -13,17 +13,24 @@ MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX= p5- PKGNAMEPREFIX= p5-
MAINTAINER= petef@FreeBSD.org 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 \ 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}/Cache/SizeAwareFileCache.pm:${PORTSDIR}/devel/p5-Cache-Cache \
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable ${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} 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 PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= CGI::Cache.3 MAN3= CGI::Cache.3
.include <bsd.port.mk> .include <bsd.port.post.mk>

View file

@ -1 +0,0 @@
Perl extension to cache output of time-intensive CGI scripts