summaryrefslogtreecommitdiff
path: root/databases/php52-sybase_ct
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-23 22:25:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-23 22:25:27 +0000
commit4df5745bbf546820b8dae9fc9117f9397b1f0f4e (patch)
treee878b1f2b203215f9ef7a266b481b2e4ea10260b /databases/php52-sybase_ct
parent- PHP 5.2 slave port (diff)
- PHP 5.2 slave port
PR: 145772 Submitted by: Alex Keda
Notes
Notes: svn path=/head/; revision=253126
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