aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-ODBC
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2007-06-15 15:29:44 +0000
committerErwin Lansing <erwin@FreeBSD.org>2007-06-15 15:29:44 +0000
commitb5f10cfc2d0af32b3dc4b881ac628a1f035627b3 (patch)
treeb2628afb982473862e962328e06f54bb49582f46 /databases/p5-DBD-ODBC
parent9ef5cb416bc993c981fd44d61f80cc5954693ab5 (diff)
downloadports-b5f10cfc2d0af32b3dc4b881ac628a1f035627b3.tar.gz
ports-b5f10cfc2d0af32b3dc4b881ac628a1f035627b3.zip
Notes
Diffstat (limited to 'databases/p5-DBD-ODBC')
-rw-r--r--databases/p5-DBD-ODBC/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/databases/p5-DBD-ODBC/Makefile b/databases/p5-DBD-ODBC/Makefile
index 5d9e26cd2437..03b9ffd316be 100644
--- a/databases/p5-DBD-ODBC/Makefile
+++ b/databases/p5-DBD-ODBC/Makefile
@@ -16,6 +16,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= DBD module interfacing the ODBC databases
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= -o ${LOCALBASE}
@@ -62,12 +65,4 @@ post-patch:
@${PERL} -pi -e '$$_ .= "\$$myodbc = \"${MYODBC}\";" if ($$. == 204);' \
${WRKSRC}/Makefile.PL
-.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>