diff options
Diffstat (limited to 'dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-pgsql-include.patch')
-rw-r--r-- | dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-pgsql-include.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-pgsql-include.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-pgsql-include.patch new file mode 100644 index 000000000000..90afd85147fd --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-pgsql-include.patch @@ -0,0 +1,13 @@ +--- configure.in.orig 2004-01-15 13:18:24.000000000 -0800 ++++ configure.in 2004-01-15 13:18:27.000000000 -0800 +@@ -674,7 +674,9 @@ + LIB_PGSQL_DIR=$LIB_PGSQL + LIB_PGSQL="$LIB_PGSQL -lpq" + +- if test -d ${with_pgsql}/include/pgsql; then ++ if test -d ${with_pgsql}/include/postgresql/pgsql; then ++ CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/postgresql/pgsql" ++ elif test -d ${with_pgsql}/include/pgsql; then + CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/pgsql" + elif test -d ${with_pgsql}/pgsql/include; then + CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/pgsql/include" |