diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2003-11-21 04:53:39 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2003-11-21 04:53:39 +0000 |
commit | 9c9ed0af7167e62be5f1398597bb8c6c278981b8 (patch) | |
tree | f15d03939f0784aa583aba9e889a7ca6a2093a7d /news/inn/files | |
parent | 0ec456277cda0b1d71e747401413a19a27d236bc (diff) | |
download | ports-9c9ed0af7167e62be5f1398597bb8c6c278981b8.tar.gz ports-9c9ed0af7167e62be5f1398597bb8c6c278981b8.zip |
Notes
Diffstat (limited to 'news/inn/files')
-rw-r--r-- | news/inn/files/patch-configure | 49 |
1 files changed, 38 insertions, 11 deletions
diff --git a/news/inn/files/patch-configure b/news/inn/files/patch-configure index 64ff492b9865..fec9814ed0d2 100644 --- a/news/inn/files/patch-configure +++ b/news/inn/files/patch-configure @@ -1,15 +1,42 @@ ---- configure.orig Mon Sep 22 11:31:16 2003 -+++ configure Mon Sep 22 11:32:15 2003 -@@ -5828,9 +5828,9 @@ +--- configure.orig Fri May 9 06:25:27 2003 ++++ configure Wed Oct 22 19:16:35 2003 +@@ -5826,36 +5826,9 @@ + done + done fi - if test x"$BERKELEY_DB_DIR" = xyes ; then - for v in db4 db3 db2 ; do +- if test x"$BERKELEY_DB_DIR" = xyes ; then +- for v in db4 db3 db2 ; do - if test -d "/usr/local/include/$v" ; then - BERKELEY_DB_LDFLAGS="-L/usr/local/lib" - BERKELEY_DB_CFLAGS="-I/usr/local/include/$v" -+ if test -d "${LOCALBASE}/include/$v" ; then -+ BERKELEY_DB_LDFLAGS="-L${LOCALBASE}/lib" -+ BERKELEY_DB_CFLAGS="-I${LOCALBASE}/include/$v" - BERKELEY_DB_LIB="-l$v" - echo "$ac_t""FreeBSD locations" 1>&6 - break +- BERKELEY_DB_LIB="-l$v" +- echo "$ac_t""FreeBSD locations" 1>&6 +- break +- fi +- done +- if test x"$BERKELEY_DB_LIB" = x ; then +- for v in db4 db3 db2 ; do +- if test -d "/usr/include/$v" ; then +- BERKELEY_DB_CFLAGS="-I/usr/include/$v" +- BERKELEY_DB_LIB="-l$v" +- echo "$ac_t""Linux locations" 1>&6 +- break +- fi +- done +- if test x"$BERKELEY_DB_LIB" = x ; then +- BERKELEY_DB_LIB=-ldb +- echo "$ac_t""trying -ldb" 1>&6 +- fi +- fi +- else +- BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib" +- BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include" +- BERKELEY_DB_LIB="-ldb" +- echo "$ac_t""$BERKELEY_DB_DIR" 1>&6 +- fi ++ BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib" ++ BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include/${DB_VER}" ++ BERKELEY_DB_LIB="-l${DB_VER}" + cat >> confdefs.h <<\EOF + #define USE_BERKELEY_DB 1 + EOF |