diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2009-03-05 17:29:38 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2009-03-05 17:29:38 +0000 |
commit | a992cf18bb321fabf57595d8708f1ae7df6c0c4a (patch) | |
tree | 5ba74f41f80f50b89947712b06aae6c49341e713 /databases | |
parent | 22ab4a3233855e4c65f0fd4d488f93645fb17b01 (diff) | |
download | pkgsrc-a992cf18bb321fabf57595d8708f1ae7df6c0c4a.tar.gz |
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 (limited to 'databases')
-rw-r--r-- | databases/php-pdo_dblib/patches/patch-aa | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/databases/php-pdo_dblib/patches/patch-aa b/databases/php-pdo_dblib/patches/patch-aa new file mode 100644 index 00000000000..07261d48fe1 --- /dev/null +++ b/databases/php-pdo_dblib/patches/patch-aa @@ -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) |