aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-RAM/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBD-RAM/Makefile')
-rw-r--r--databases/p5-DBD-RAM/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/databases/p5-DBD-RAM/Makefile b/databases/p5-DBD-RAM/Makefile
index bb09bb3bf7a4..40f4961d6982 100644
--- a/databases/p5-DBD-RAM/Makefile
+++ b/databases/p5-DBD-RAM/Makefile
@@ -16,21 +16,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= DBI driver for files and data structures
-BUILD_DEPENDS+= ${SITE_PERL}/DBD/File.pm:${PORTSDIR}/databases/p5-DBD-File
-RUN_DEPENDS+= ${SITE_PERL}/DBD/File.pm:${PORTSDIR}/databases/p5-DBD-File
+BUILD_DEPENDS= ${SITE_PERL}/DBD/File.pm:${PORTSDIR}/databases/p5-DBD-File \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= DBD::RAM.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
-.else
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>