aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php52-sybase_ct
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-04-24 06:25:27 +0800
committerdinoex <dinoex@FreeBSD.org>2010-04-24 06:25:27 +0800
commite31bdca8b45a588f5dd0e8381dc0e5166fc688a2 (patch)
tree8f14052759d5cd5489c0c7e5ca0b7722fa746f3c /databases/php52-sybase_ct
parent4a5ff575aab5a6961ca7f693683d3e394a032b43 (diff)
downloadfreebsd-ports-gnome-e31bdca8b45a588f5dd0e8381dc0e5166fc688a2.tar.gz
freebsd-ports-gnome-e31bdca8b45a588f5dd0e8381dc0e5166fc688a2.tar.zst
freebsd-ports-gnome-e31bdca8b45a588f5dd0e8381dc0e5166fc688a2.zip
- PHP 5.2 slave port
PR: 145772 Submitted by: Alex Keda
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