diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2017-08-12 09:12:17 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2017-08-12 16:59:53 -0400 |
commit | 42c6544c5745f8c21a36a5f694fe98871d289a0e (patch) | |
tree | a3a647464a5aaddb1d7a68171fac3ec10d7d2084 /dev-db/freetds/files | |
parent | dev-db/freetds: remove old unused versions and files. (diff) | |
download | gentoo-42c6544c5745f8c21a36a5f694fe98871d289a0e.tar.gz gentoo-42c6544c5745f8c21a36a5f694fe98871d289a0e.tar.bz2 gentoo-42c6544c5745f8c21a36a5f694fe98871d289a0e.zip |
dev-db/freetds: new version 1.00.53.
Gentoo-Bug: 585592
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-db/freetds/files')
-rw-r--r-- | dev-db/freetds/files/without-flags.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-db/freetds/files/without-flags.patch b/dev-db/freetds/files/without-flags.patch new file mode 100644 index 000000000000..1f04a90ac6af --- /dev/null +++ b/dev-db/freetds/files/without-flags.patch @@ -0,0 +1,48 @@ +From c4b9d766e009273c70d8953767ef2fcb95f65314 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Fri, 11 Aug 2017 16:45:15 -0400 +Subject: [PATCH] configure.ac: support "without" versions of three ./configure + flags. + +The --with-iodbc, --with-unixodbc, and --with-odbc-nodm flags all use +the standard AC_ARG_WITH macro. The resulting ./configure script +accepts e.g. --without-iodbc to indicate that the user does not want +to enable iODBC, and in place of a path the word "no" is placed into +the $with_iodbc variable. The current configure.ac doesn't handle that +and instead treats "no" as a path. This commit updates configure.ac to +ignore "no" as the value of those three flags. +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4f41033ae..9dfe12bb7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -546,7 +546,7 @@ esac + + AC_ARG_WITH(iodbc, + AS_HELP_STRING([--with-iodbc=DIR], [build odbc driver against iODBC in DIR])) +-if test "$with_iodbc"; then ++if test "x$with_iodbc" != "x" -a "x$with_iodbc" != "xno"; then + if echo "$with_iodbc" | grep -v '^/'; then + with_iodbc="$PWD/$with_iodbc" + fi +@@ -563,7 +563,7 @@ fi + + AC_ARG_WITH(unixodbc, + AS_HELP_STRING([--with-unixodbc=DIR], [build odbc driver against unixODBC in DIR])) +-if test "$with_unixodbc"; then ++if test "x$with_unixodbc" != "x" -a "x$with_unixodbc" != "xno"; then + if echo "$with_unixodbc" | grep -v '^/'; then + with_unixodbc="$PWD/$with_unixodbc" + fi +@@ -588,7 +588,7 @@ fi + + AC_ARG_WITH(odbc_nodm, + AS_HELP_STRING([--with-odbc-nodm=DIR], [build odbc using headers in DIR/include])) +-if test "$with_odbc_nodm"; then ++if test "x$with_odbc_nodm" != "x" -a "x$with_odbc_nodm" != "xno"; then + if echo "$with_odbc_nodm" | grep -v '^/'; then + with_odbc_nodm="$PWD/$with_odbc_nodm" + fi |