summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/php4/Makefile.ext11
-rw-r--r--lang/php5/Makefile.ext10
-rw-r--r--lang/php53/Makefile.ext10
3 files changed, 27 insertions, 4 deletions
diff --git a/lang/php4/Makefile.ext b/lang/php4/Makefile.ext
index 002a912..75c153c 100644
--- a/lang/php4/Makefile.ext
+++ b/lang/php4/Makefile.ext
@@ -32,7 +32,6 @@ CONFIGURE_ARGS+=--enable-calendar
.if ${PHP_MODNAME} == "crack"
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
-RUN_DEPENDS+= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
CONFIGURE_ARGS+=--with-crack=${LOCALBASE}
.endif
@@ -242,7 +241,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
@@ -450,6 +448,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
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index d627640..c3774d3 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/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
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