summaryrefslogtreecommitdiffstats
path: root/databases/php5-oracle
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-19 08:57:58 +0000
committerale <ale@FreeBSD.org>2004-07-19 08:57:58 +0000
commit1e32e9a6e604e154bab4f217ee9dbb8e1321233a (patch)
tree7a8762a9c8e0bf3f11e86eb919caf8562e0e0307 /databases/php5-oracle
parent8d159ebde086cf105507582e59347e7246ea163d (diff)
downloadFreeBSD-ports-1e32e9a6e604e154bab4f217ee9dbb8e1321233a.zip
FreeBSD-ports-1e32e9a6e604e154bab4f217ee9dbb8e1321233a.tar.gz
Add a new shared extension for PHP.
Diffstat (limited to 'databases/php5-oracle')
-rw-r--r--databases/php5-oracle/files/patch-config.m421
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/php5-oracle/files/patch-config.m4 b/databases/php5-oracle/files/patch-config.m4
new file mode 100644
index 0000000..550d803
--- /dev/null
+++ b/databases/php5-oracle/files/patch-config.m4
@@ -0,0 +1,21 @@
+--- config.m4.orig Thu Jul 8 10:22:35 2004
++++ config.m4 Thu Jul 8 10:30:31 2004
+@@ -4,8 +4,8 @@
+
+ AC_DEFUN(AC_ORACLE_VERSION,[
+ AC_MSG_CHECKING([Oracle version])
+- if test -s "$ORACLE_DIR/orainst/unix.rgs"; then
+- ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
++ if test -s "$ORACLE_DIR/ocommon/install/partial.prd"; then
++ ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/ocommon/install/partial.prd | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
+ test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3
+ elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then
+ ORACLE_VERSION=9.0
+@@ -113,6 +113,7 @@
+ PHP_ADD_LIBRARY_WITH_PATH(clntsh, $ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
+ else
+ PHP_ADD_LIBRARY_WITH_PATH(core3, $ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
++ PHP_ADD_LIBRARY_WITH_PATH(wrap, $ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(nlsrtl3, $ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(core3, $ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(c3v6, $ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
OpenPOWER on IntegriCloud