aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2007-07-04 02:35:03 +0800
committererwin <erwin@FreeBSD.org>2007-07-04 02:35:03 +0800
commit068f64395338697d1f825e305b49fc5af139db21 (patch)
treee464c2f2fcab5cc0d0264fcb1160f3ec1ffb3a97 /databases
parentfb98ae934f8f54399cf39836e35ee65119979c4f (diff)
downloadfreebsd-ports-gnome-068f64395338697d1f825e305b49fc5af139db21.tar.gz
freebsd-ports-gnome-068f64395338697d1f825e305b49fc5af139db21.tar.zst
freebsd-ports-gnome-068f64395338697d1f825e305b49fc5af139db21.zip
Remove 4.x workaround
PR: 113821 Submitted by: erwin Approved by: maintainer timeout
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBD-Oracle/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
index 7c9f21ddd684..1203c1dd3a47 100644
--- a/databases/p5-DBD-Oracle/Makefile
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -18,6 +18,7 @@ COMMENT= DBI driver for Oracle RDBMS server
OPTIONS= OCI8 "Use OCI8" off
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -42,24 +43,15 @@ post-install:
PORTVERSION= 1.19
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ORACLE_HOME= ${LOCALBASE}/oracle8-client
-BUILD_DEPENDS= ${ORACLE_HOME}/lib/libclntst8.a:${PORTSDIR}/databases/oracle8-client
+BUILD_DEPENDS+= ${ORACLE_HOME}/lib/libclntst8.a:${PORTSDIR}/databases/oracle8-client
CONFIGURE_ARGS= -V 8.1.7
.else
PORTVERSION= 1.14
ORACLE_HOME= ${LOCALBASE}/oracle7
-BUILD_DEPENDS= ${ORACLE_HOME}/rdbms/demo/oracle.mk:${PORTSDIR}/databases/oracle7-client
+BUILD_DEPENDS+= ${ORACLE_HOME}/rdbms/demo/oracle.mk:${PORTSDIR}/databases/oracle7-client
CONFIGURE_ARGS= -m ${ORACLE_HOME}/rdbms/demo/oracle.mk
.endif
-.if ${PERL_LEVEL} < 500600
-.ifdef WITH_OCI8
-IGNORE= perl 5.6 or newer required. Install lang/perl5.8 and try again
-.endif
-BUILD_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
-.endif
-
post-patch:
.ifdef WITH_OCI8
@${MV} ${WRKSRC}/Oracle.ex/README ${WRKSRC}/Oracle.ex/Readme