diff options
Diffstat (limited to 'databases/p5-DBD-Sybase')
-rw-r--r-- | databases/p5-DBD-Sybase/Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/databases/p5-DBD-Sybase/Makefile b/databases/p5-DBD-Sybase/Makefile index 6a73cbe86212..07593aa59db9 100644 --- a/databases/p5-DBD-Sybase/Makefile +++ b/databases/p5-DBD-Sybase/Makefile @@ -16,6 +16,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= A Sybase DBI driver for Perl 5 +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS= ${BUILD_DEPENDS} LIB_DEPENDS= ct.4:${PORTSDIR}/databases/freetds PERL_CONFIGURE= yes @@ -29,14 +31,4 @@ USE_GETTEXT= yes MAN3= DBD::Sybase.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> |