From e31bdca8b45a588f5dd0e8381dc0e5166fc688a2 Mon Sep 17 00:00:00 2001 From: dinoex Date: Fri, 23 Apr 2010 22:25:27 +0000 Subject: - PHP 5.2 slave port PR: 145772 Submitted by: Alex Keda --- databases/php52-sybase_ct/Makefile | 14 ++++++++++++++ databases/php52-sybase_ct/files/patch-config.m4 | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 databases/php52-sybase_ct/Makefile create mode 100644 databases/php52-sybase_ct/files/patch-config.m4 (limited to 'databases/php52-sybase_ct') 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 +# +# $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 -- cgit