diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-13 12:28:23 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-13 12:28:23 +0000 |
commit | 927c9c2190303cbf488da40b21aa8f687198bb23 (patch) | |
tree | b50875b389c063d1bcadc768e710973b1992efd2 /databases/p5-MLDBM | |
parent | 2a6d3bd8e2df3f99bd5bc37be426951c272419b9 (diff) | |
download | ports-927c9c2190303cbf488da40b21aa8f687198bb23.tar.gz ports-927c9c2190303cbf488da40b21aa8f687198bb23.zip |
Notes
Diffstat (limited to 'databases/p5-MLDBM')
-rw-r--r-- | databases/p5-MLDBM/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/databases/p5-MLDBM/Makefile b/databases/p5-MLDBM/Makefile index 1a8216a90f1b..512f10a909b5 100644 --- a/databases/p5-MLDBM/Makefile +++ b/databases/p5-MLDBM/Makefile @@ -15,12 +15,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= erwin@lansing.dk COMMENT= Store multi-level hash structure in single level tied hash -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw +RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= MLDBM.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> |