summaryrefslogtreecommitdiff
path: root/news/inn-current/files/patch-configure
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-01-22 12:28:42 +0000
committerClement Laforet <clement@FreeBSD.org>2004-01-22 12:28:42 +0000
commit0413ac12276487ad62380d533527427f58282c8b (patch)
treeee6f16112412d2fc422d68d4eb5f3541ca0c7e44 /news/inn-current/files/patch-configure
parentUse the CPIO macro defined in bsd.port.mk. (diff)
- Add inn-current, 20040118 snapshot
InterNetNews is a complete Usenet system. The cornerstone of the package is innd, an NNTP server that multiplexes all I/O. Newsreading is handled by a separate server, nnrpd, that is spawned for each client. Both innd and nnrpd have some slight variances from the NNTP protocol. This ports is the developpement version, DON'T USE IT OR TRY TO USE IT ON A PRODUCTION SERVER.
Diffstat (limited to 'news/inn-current/files/patch-configure')
-rw-r--r--news/inn-current/files/patch-configure71
1 files changed, 56 insertions, 15 deletions
diff --git a/news/inn-current/files/patch-configure b/news/inn-current/files/patch-configure
index 64ff492b9865..752d1c658b79 100644
--- a/news/inn-current/files/patch-configure
+++ b/news/inn-current/files/patch-configure
@@ -1,15 +1,56 @@
---- configure.orig Mon Sep 22 11:31:16 2003
-+++ configure Mon Sep 22 11:32:15 2003
-@@ -5828,9 +5828,9 @@
- fi
- 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
+--- configure.orig Mon Jan 12 06:10:08 2004
++++ configure Thu Jan 22 11:40:42 2004
+@@ -10949,51 +10949,11 @@
+ echo "$as_me:$LINENO: checking for Berkeley DB location" >&5
+ echo $ECHO_N "checking for Berkeley DB location... $ECHO_C" >&6
+
+- if test x"$DB_DIR" = xyes ; then
+- for version in BerkeleyDB.4.1 BerkeleyDB.4.0 BerkeleyDB.3.3 \
+- BerkeleyDB.3.2 BerkeleyDB.3.1 BerkeleyDB.3.0 \
+- BerkeleyDB ; do
+- if test -d "/usr/local/$version" ; then
+- DB_DIR=/usr/local/$version
+- break
+- fi
+- done
+- fi
+-
+- if test x"$DB_DIR" = xyes ; then
+- for version in db41 db4 db3 db2 ; do
+- if test -d "/usr/local/include/$version" ; then
+- DB_CPPFLAGS="-I/usr/local/include/$version"
++ DB_CPPFLAGS="-I/usr/local/include/${DB_VER}"
+ DB_LDFLAGS="-L/usr/local/lib"
+- DB_LIBS="-l$version"
++ DB_LIBS="-l${DB_VER}"
+ echo "$as_me:$LINENO: result: FreeBSD locations" >&5
+ echo "${ECHO_T}FreeBSD locations" >&6
+- break
+- fi
+- done
+- if test x"$DB_LIBS" = x ; then
+- for version in db41 db4 db3 db2 ; do
+- if test -d "/usr/include/$version" ; then
+- DB_CPPFLAGS="-I/usr/include/$version"
+- DB_LIBS="-l$version"
+- echo "$as_me:$LINENO: result: Red Hat locations" >&5
+-echo "${ECHO_T}Red Hat locations" >&6
+- break
+- fi
+- done
+- if test x"$DB_LIBS" = x ; then
+- DB_LIBS=-ldb
+- echo "$as_me:$LINENO: result: trying -ldb" >&5
+-echo "${ECHO_T}trying -ldb" >&6
+- fi
+- fi
+- else
+- DB_CPPFLAGS="-I$DB_DIR/include"
+- DB_LDFLAGS="-L$DB_DIR/lib"
+- DB_LIBS="-ldb"
+- echo "$as_me:$LINENO: result: $DB_DIR" >&5
+-echo "${ECHO_T}$DB_DIR" >&6
+- fi
+
+ cat >>confdefs.h <<\_ACEOF
+ #define USE_BERKELEY_DB 1