summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-07-11 13:21:54 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-07-11 13:21:54 +0000
commitbc04aff0957bd46cd4265a42f6974054c53fdcef (patch)
treeff035cfb8cdbe6438b20ba3be50e35daac4eae85 /databases
parentUpdate global to 5.1. (diff)
Add databases/php5-oci8:
This port adds support for OCI8 PHP shared extension. It replaces the old Oracle shared extension which is obsolete and will be dropped (moved to PECL) in PHP 5.1. This patch also corrects dependency for the Oracle shared extension (added Oracle client in RUN_DEPENDS). PR: ports/86580 Submitted by: Simun Mikecin <numisemis at yahoo.com>
Notes
Notes: svn path=/head/; revision=167472
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/php5-oci8/Makefile13
-rw-r--r--databases/php5-oci8/files/patch-config.m412
3 files changed, 26 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 128191bbd6ec..b11a7cd29f6d 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -333,6 +333,7 @@
SUBDIR += php5-mssql
SUBDIR += php5-mysql
SUBDIR += php5-mysqli
+ SUBDIR += php5-oci8
SUBDIR += php5-odbc
SUBDIR += php5-pgsql
SUBDIR += php5-propel
diff --git a/databases/php5-oci8/Makefile b/databases/php5-oci8/Makefile
new file mode 100644
index 000000000000..e60a802b9757
--- /dev/null
+++ b/databases/php5-oci8/Makefile
@@ -0,0 +1,13 @@
+# New ports collection makefile for: php5-oci8
+# Date created: 24 Sep 2004
+# Whom: Simun Mikecin <numisemis@yahoo.com>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= databases
+PKGNAMESUFFIX= -oci8
+
+MASTERDIR= ${.CURDIR}/../../lang/php5
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/php5-oci8/files/patch-config.m4 b/databases/php5-oci8/files/patch-config.m4
new file mode 100644
index 000000000000..d504cdf1c1bb
--- /dev/null
+++ b/databases/php5-oci8/files/patch-config.m4
@@ -0,0 +1,12 @@
+--- config.m4.orig Wed Apr 5 11:06:00 2006
++++ config.m4 Tue Jul 11 08:20:27 2006
+@@ -177,8 +177,7 @@
+ ;;
+
+ 8.1)
+- PHP_ADD_LIBRARY(clntsh, 1, OCI8_SHARED_LIBADD)
+- PHP_ADD_LIBPATH($OCI8_DIR/$OCI8_LIB_DIR, OCI8_SHARED_LIBADD)
++ PHP_ADD_LIBRARY_WITH_PATH(oci8, ., OCI8_SHARED_LIBADD)
+
+ PHP_CHECK_LIBRARY(clntsh, OCIEnvCreate,
+ [