diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2002-06-26 19:46:51 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2002-06-26 19:46:51 +0000 |
commit | a1223905c93f760755b17856d643568d89d553c5 (patch) | |
tree | 44d8e278c5a73c06c31cde696ff5b0ddbef28e04 /databases/postgresql82-server | |
parent | f0c1fa48bcbd8c64144465e50bb7816674ccfd87 (diff) | |
download | ports-a1223905c93f760755b17856d643568d89d553c5.tar.gz ports-a1223905c93f760755b17856d643568d89d553c5.zip |
Notes
Diffstat (limited to 'databases/postgresql82-server')
-rw-r--r-- | databases/postgresql82-server/files/patch-configure | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/databases/postgresql82-server/files/patch-configure b/databases/postgresql82-server/files/patch-configure new file mode 100644 index 000000000000..efeca517d300 --- /dev/null +++ b/databases/postgresql82-server/files/patch-configure @@ -0,0 +1,59 @@ +--- configure.orig Wed Jun 26 21:28:24 2002 ++++ configure Wed Jun 26 21:35:16 2002 +@@ -2007,11 +2007,13 @@ + EOF + + +- if test -d "$krb4_prefix/include"; then +- INCLUDES="$INCLUDES -I$krb4_prefix/include" +- fi +- if test -d "$krb4_prefix/lib"; then +- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib" ++ if test "$krb4_prefix" != "/usr"; then ++ if test -d "$krb4_prefix/include"; then ++ INCLUDES="$INCLUDES -I$krb4_prefix/include" ++ fi ++ if test -d "$krb4_prefix/lib"; then ++ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib" ++ fi + fi + + krb_srvtab="/etc/srvtab" +@@ -2052,11 +2054,13 @@ + EOF + + +- if test -d "$krb5_prefix/include"; then +- INCLUDES="$INCLUDES -I$krb5_prefix/include" +- fi +- if test -d "$krb5_prefix/lib"; then +- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib" ++ if test "$krb5_prefix" != "/usr"; then ++ if test -d "$krb5_prefix/include"; then ++ INCLUDES="$INCLUDES -I$krb5_prefix/include" ++ fi ++ if test -d "$krb5_prefix/lib"; then ++ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib" ++ fi + fi + + krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab" +@@ -2157,11 +2161,13 @@ + EOF + + +- if test -d "${openssl_prefix}/include" ; then +- INCLUDES="$INCLUDES -I${openssl_prefix}/include" +- fi +- if test -d "${openssl_prefix}/lib" ; then +- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib" ++ if test "${openssl_prefix}" != "/usr"; then ++ if test -d "${openssl_prefix}/include" ; then ++ INCLUDES="$INCLUDES -I${openssl_prefix}/include" ++ fi ++ if test -d "${openssl_prefix}/lib" ; then ++ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib" ++ fi + fi + + fi |