diff options
author | Alex Dupre <ale@FreeBSD.org> | 2007-02-09 08:41:26 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2007-02-09 08:41:26 +0000 |
commit | b3d481c7ebec1d413355342a236e9abcd2ea0bd9 (patch) | |
tree | 613f6dfd3fc61ef170b350613a20d0dc99241d7c /databases/php5-pdo_oci | |
parent | - Fix build after libmytinfo removal (diff) |
Add PDO oci driver.
Notes
Notes:
svn path=/head/; revision=184687
Diffstat (limited to 'databases/php5-pdo_oci')
-rw-r--r-- | databases/php5-pdo_oci/Makefile | 14 | ||||
-rw-r--r-- | databases/php5-pdo_oci/files/patch-config.m4 | 19 |
2 files changed, 33 insertions, 0 deletions
diff --git a/databases/php5-pdo_oci/Makefile b/databases/php5-pdo_oci/Makefile new file mode 100644 index 000000000000..c65accb56561 --- /dev/null +++ b/databases/php5-pdo_oci/Makefile @@ -0,0 +1,14 @@ +# New ports collection makefile for: php5-pdo_oci +# Date created: 7 Feb 2007 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php5 + +PKGNAMESUFFIX= -pdo_oci + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php5-pdo_oci/files/patch-config.m4 b/databases/php5-pdo_oci/files/patch-config.m4 new file mode 100644 index 000000000000..bcc94e0961ec --- /dev/null +++ b/databases/php5-pdo_oci/files/patch-config.m4 @@ -0,0 +1,19 @@ +--- config.m4.orig Thu Feb 16 03:03:13 2006 ++++ config.m4 Wed Feb 7 15:00:58 2007 +@@ -145,7 +145,6 @@ + ;; + + 8.1) +- PHP_ADD_LIBRARY(clntsh, 1, PDO_OCI_SHARED_LIBADD) + ;; + + 9.0) +@@ -163,7 +162,7 @@ + ;; + esac + +- PHP_ADD_LIBPATH($PDO_OCI_LIB_DIR, PDO_OCI_SHARED_LIBADD) ++ PHP_ADD_LIBRARY_WITH_PATH(oci8, ., PDO_OCI_SHARED_LIBADD) + + PHP_CHECK_LIBRARY(clntsh, OCIEnvCreate, + [ |