aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php52-sybase_ct
diff options
context:
space:
mode:
Diffstat (limited to 'databases/php52-sybase_ct')
-rw-r--r--databases/php52-sybase_ct/Makefile14
-rw-r--r--databases/php52-sybase_ct/files/patch-config.m411
2 files changed, 25 insertions, 0 deletions
diff --git a/databases/php52-sybase_ct/Makefile b/databases/php52-sybase_ct/Makefile
new file mode 100644
index 000000000000..3abb177a61a0
--- /dev/null
+++ b/databases/php52-sybase_ct/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-sybase_ct
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -sybase_ct
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/php52-sybase_ct/files/patch-config.m4 b/databases/php52-sybase_ct/files/patch-config.m4
new file mode 100644
index 000000000000..ef121d7c4730
--- /dev/null
+++ b/databases/php52-sybase_ct/files/patch-config.m4
@@ -0,0 +1,11 @@
+--- config.m4.orig 2009-03-26 09:53:49.000000000 +0100
++++ config.m4 2009-03-26 09:55:35.000000000 +0100
+@@ -31,7 +31,7 @@
+ fi
+
+ PHP_ADD_LIBPATH($SYBASE_CT_LIBDIR, SYBASE_CT_SHARED_LIBADD)
+- if test -f $SYBASE_CT_INCDIR/tds.h; then
++ if test -f $SYBASE_CT_INCDIR/tds_sysdep_public.h; then
+ PHP_ADD_LIBRARY(ct,, SYBASE_CT_SHARED_LIBADD)
+ SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lct"
+ else