pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/php-pdo_dblib/patches make build with FreeTD...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a76469f6cce4
branches: trunk
changeset: 555571:a76469f6cce4
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Thu Mar 05 17:29:38 2009 +0000
description:
make build with FreeTDS 0.82 - seems tds.h and libtds.* are no longer
instealled in the new FreeTDS version
the configure test here now matches test done by databases/php-mssql module
diffstat:
databases/php-pdo_dblib/patches/patch-aa | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diffs (32 lines):
diff -r 96618cb12dce -r a76469f6cce4 databases/php-pdo_dblib/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_dblib/patches/patch-aa Thu Mar 05 17:29:38 2009 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1 2009/03/05 17:29:38 jdolecek Exp $
+
+--- config.m4.orig 2009-03-05 18:16:44.000000000 +0100
++++ config.m4
+@@ -30,10 +30,10 @@ if test "$PHP_PDO_DBLIB" != "no"; then
+
+ elif test "$PHP_PDO_DBLIB" != "no"; then
+
+- if test -f $PHP_PDO_DBLIB/include/tds.h; then
++ if test -f $PHP_PDO_DBLIB/include/sybdb.h; then
+ PDO_FREETDS_INSTALLATION_DIR=$PHP_PDO_DBLIB
+ PDO_FREETDS_INCLUDE_DIR=$PHP_PDO_DBLIB/include
+- elif test -f $PHP_PDO_DBLIB/include/freetds/tds.h; then
++ elif test -f $PHP_PDO_DBLIB/include/freetds/sybdb.h; then
+ PDO_FREETDS_INSTALLATION_DIR=$PHP_PDO_DBLIB
+ PDO_FREETDS_INCLUDE_DIR=$PHP_PDO_DBLIB/include/freetds
+ else
+@@ -45,8 +45,8 @@ if test "$PHP_PDO_DBLIB" != "no"; then
+ PHP_LIBDIR=lib
+ fi
+
+- if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.so"; then
+- AC_MSG_ERROR(Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.[a|so])
++ if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.so"; then
++ AC_MSG_ERROR(Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.[a|so])
+ fi
+
+ PHP_ADD_INCLUDE($PDO_FREETDS_INCLUDE_DIR)
Home |
Main Index |
Thread Index |
Old Index