aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-23 16:17:41 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-23 16:17:41 +0000
commit3cfae344917e88f82f11f9ec44de4d2d42f85a68 (patch)
tree51d4eb3e0df252ad766f41beaa37eadd94b6c2bb
parent9623458383f0383ef4af870b8ef4eaf7d6084ae5 (diff)
downloadports-3cfae344917e88f82f11f9ec44de4d2d42f85a68.tar.gz
ports-3cfae344917e88f82f11f9ec44de4d2d42f85a68.zip
Notes
-rw-r--r--databases/Makefile1
-rw-r--r--databases/php52-oci8/Makefile13
-rw-r--r--databases/php52-oci8/files/patch-config.m412
3 files changed, 26 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index b8d680afef45..487c2c7f0dd4 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -524,6 +524,7 @@
SUBDIR += php52-mysql
SUBDIR += php52-mysqli
SUBDIR += php52-oci8
+ SUBDIR += php52-odbc
SUBDIR += phpminiadmin
SUBDIR += phpmyadmin
SUBDIR += phpmyadmin211
diff --git a/databases/php52-oci8/Makefile b/databases/php52-oci8/Makefile
new file mode 100644
index 000000000000..7454d1fb90a4
--- /dev/null
+++ b/databases/php52-oci8/Makefile
@@ -0,0 +1,13 @@
+# New ports collection makefile for: php52-oci8
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= databases
+PKGNAMESUFFIX= -oci8
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/php52-oci8/files/patch-config.m4 b/databases/php52-oci8/files/patch-config.m4
new file mode 100644
index 000000000000..d504cdf1c1bb
--- /dev/null
+++ b/databases/php52-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,
+ [