From 867c78fefae915594921b48e37ea703f28bd7ebf Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Fri, 9 May 2003 01:20:36 +0000 Subject: iconditionalize dependencies on modules included in perl 5.8 Make dependencies on modules included in the perl 5.8 distribution conditional on the perl version installed. While I'm here, remove SITE_PERL and MAN(3)PREFIX. These patches only include unmaintained ports. PR: ports/50589 Submitted by: Erwin Lansing --- devel/p5-IPC-Cache/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'devel/p5-IPC-Cache') diff --git a/devel/p5-IPC-Cache/Makefile b/devel/p5-IPC-Cache/Makefile index ebb212c91648..69edf60a352b 100644 --- a/devel/p5-IPC-Cache/Makefile +++ b/devel/p5-IPC-Cache/Makefile @@ -15,13 +15,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Persist data across processes via shared memory -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= IPC::Cache.3 -.include +.include + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +.endif + +.include -- cgit v1.2.3