From 43d05575f8ba782e5e6ee2841401677186418eda Mon Sep 17 00:00:00 2001 From: edwin Date: Fri, 9 May 2003 01:14:36 +0000 Subject: conditionalize 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. ports/audio only PR: ports/50589 Submitted by: Erwin Lansing --- audio/p5-CDDB-File/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'audio') diff --git a/audio/p5-CDDB-File/Makefile b/audio/p5-CDDB-File/Makefile index b415423f5bed..4649eb0d7066 100644 --- a/audio/p5-CDDB-File/Makefile +++ b/audio/p5-CDDB-File/Makefile @@ -16,12 +16,15 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Parse a CDDB/freedb data file -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN3= CDDB::File.3 -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include +.include + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif + +.include -- cgit