diff options
author | joerg <joerg@pkgsrc.org> | 2009-12-14 19:50:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-12-14 19:50:41 +0000 |
commit | 93abb4a68d0a7c2e76d99832fe1f4e28131b8005 (patch) | |
tree | 1a1a444c93f188873ac096402f4f496d371b9ac8 /www/php4 | |
parent | 6d59d6a616959382fbf447bdabfeefc0b92ba4dc (diff) | |
download | pkgsrc-93abb4a68d0a7c2e76d99832fe1f4e28131b8005.tar.gz |
Patch away broken check for FreeTDS to allow databases/php-mssql to work.
Diffstat (limited to 'www/php4')
-rw-r--r-- | www/php4/distinfo | 3 | ||||
-rw-r--r-- | www/php4/patches/patch-av | 38 |
2 files changed, 40 insertions, 1 deletions
diff --git a/www/php4/distinfo b/www/php4/distinfo index f1275c1a9b3..5a97aadf5a9 100644 --- a/www/php4/distinfo +++ b/www/php4/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.68 2008/08/17 18:29:33 adrianp Exp $ +$NetBSD: distinfo,v 1.69 2009/12/14 19:50:41 joerg Exp $ SHA1 (php-4.4.9.tar.bz2) = ab3d2205d756ddf93452b57bd6ce6a2014b1c374 RMD160 (php-4.4.9.tar.bz2) = 0d77092efaccd8fe6efc16635be98c5d4ccfec66 @@ -15,3 +15,4 @@ SHA1 (patch-ak) = 1f9fbe26c7329e1d18eec053499ee2d574b5b970 SHA1 (patch-ap) = 2f852abd1e9d0f089add18b2eade2831253ad00e SHA1 (patch-at) = f8b3aebd61fe2d5b5a994e1d973424a1ed397f63 SHA1 (patch-au) = f9798aa440e174f65dde574c4f3b28183b3d18bc +SHA1 (patch-av) = 925503f710f2fdf20d5aecfab39d448841c25e9f diff --git a/www/php4/patches/patch-av b/www/php4/patches/patch-av new file mode 100644 index 00000000000..de881d32dd4 --- /dev/null +++ b/www/php4/patches/patch-av @@ -0,0 +1,38 @@ +$NetBSD: patch-av,v 1.5 2009/12/14 19:50:41 joerg Exp $ + +--- ext/mssql/configure.orig 2009-12-14 20:38:39.000000000 +0100 ++++ ext/mssql/configure +@@ -3842,32 +3842,7 @@ $as_echo "$ext_output" >&6; } + + if test "$PHP_MSSQL" != "no"; then + +- FREETDS_INSTALLATION_DIR="" +- if test "$PHP_MSSQL" = "yes"; then +- +- for i in /usr/local /usr; do +- if test -f $i/include/tds.h; then +- FREETDS_INSTALLATION_DIR=$i +- break +- fi +- done +- +- if test -z "$FREETDS_INSTALLATION_DIR"; then +- as_fn_error "Cannot find FreeTDS in known installation directories" "$LINENO" 5 +- fi +- +- elif test "$PHP_MSSQL" != "no"; then +- +- if test -f $PHP_MSSQL/include/tds.h; then +- FREETDS_INSTALLATION_DIR=$PHP_MSSQL +- else +- as_fn_error "Directory $PHP_MSSQL is not a FreeTDS installation directory" "$LINENO" 5 +- fi +- fi +- +- if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a" && test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.so"; then +- as_fn_error "Could not find $FREETDS_INSTALLATION_DIR/lib/libtds.a|so" "$LINENO" 5 +- fi ++ FREETDS_INSTALLATION_DIR=$PHP_MSSQL + + MSSQL_INCDIR=$FREETDS_INSTALLATION_DIR/include + MSSQL_LIBDIR=$FREETDS_INSTALLATION_DIR/lib |