aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-ODBC
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2007-06-15 23:29:44 +0800
committererwin <erwin@FreeBSD.org>2007-06-15 23:29:44 +0800
commit2e6ed09c6ed41fd51e0fa0b87f8765d6c7f71be3 (patch)
treec3bcd95f2e69cee7d2f9e9d172f07dba1e2fa2be /databases/p5-DBD-ODBC
parentd028e49d33881fa51008f19e1fe9410f2e2c90ef (diff)
downloadfreebsd-ports-gnome-2e6ed09c6ed41fd51e0fa0b87f8765d6c7f71be3.tar.gz
freebsd-ports-gnome-2e6ed09c6ed41fd51e0fa0b87f8765d6c7f71be3.tar.zst
freebsd-ports-gnome-2e6ed09c6ed41fd51e0fa0b87f8765d6c7f71be3.zip
Remove 4.x workaround.
Approved by: maintainer (apriori)
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>