summaryrefslogtreecommitdiffstats
path: root/lang/php53
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-06-14 14:27:20 +0000
committerale <ale@FreeBSD.org>2005-06-14 14:27:20 +0000
commit7ffebada9dbe1d0bf4d035907c6a36a6c619efbf (patch)
tree7fb92d167d7d112f81b4dcbdbfb57577cbc76478 /lang/php53
parenta0e7d80955d09fc0ac15e23369641d6a574574ee (diff)
downloadFreeBSD-ports-7ffebada9dbe1d0bf4d035907c6a36a6c619efbf.zip
FreeBSD-ports-7ffebada9dbe1d0bf4d035907c6a36a6c619efbf.tar.gz
Fix oracle extension.
PR: ports/81382 Submitted by: Simun Mikecin <sime@logos.hr>
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile.ext10
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index d627640..c3774d3 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -238,7 +238,6 @@ USE_OPENSSL= yes
.if ${PHP_MODNAME} == "oracle"
BUILD_DEPENDS+= ${LOCALBASE}/oracle7/lib/libcore3.a:${PORTSDIR}/databases/oracle7-client
-RUN_DEPENDS+= ${LOCALBASE}/oracle7/lib/libcore3.a:${PORTSDIR}/databases/oracle7-client
CONFIGURE_ARGS+=--with-oracle=${LOCALBASE}/oracle7
.endif
@@ -458,6 +457,15 @@ post-extract:
@${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4
.endif
+.if ${PHP_MODNAME} == "oracle"
+post-patch:
+ @cd ${WRKSRC}; \
+ for lib in c3v6 client common core3 epc generic ncr nlsrtl3 sqlnet wrap; do \
+ /usr/bin/ar x ${LOCALBASE}/oracle7/lib/lib$${lib}.a; \
+ done; \
+ /usr/bin/ar rcs liboracle.a *.o
+.endif
+
.if ${PHP_MODNAME} == "snmp"
. if defined(WITH_SNMP4) || exists(${LOCALBASE}/lib/libsnmp.so.4)
LIB_DEPENDS+= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
OpenPOWER on IntegriCloud