summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news/inn/files/2.4.1-berkdb.patch')
-rw-r--r--net-news/inn/files/2.4.1-berkdb.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-news/inn/files/2.4.1-berkdb.patch b/net-news/inn/files/2.4.1-berkdb.patch
new file mode 100644
index 000000000000..5982ed04af42
--- /dev/null
+++ b/net-news/inn/files/2.4.1-berkdb.patch
@@ -0,0 +1,32 @@
+diff -Nur inn-2.4.1.orig/configure.in inn-2.4.1/configure.in
+--- inn-2.4.1.orig/configure.in 2004-09-07 14:53:23.800246638 +0200
++++ inn-2.4.1/configure.in 2004-09-07 14:55:04.045893609 +0200
+@@ -375,20 +375,20 @@
+ done
+ fi
+ if test x"$BERKELEY_DB_DIR" = xyes ; then
+- for v in db41 db4 db3 db2 ; do
++ for v in 3 2 ; do
+- if test -d "/usr/local/include/$v" ; then
++ if test -d "/usr/local/include/db$v" ; then
+ BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
+- BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
+- BERKELEY_DB_LIB="-l$v"
++ BERKELEY_DB_CFLAGS="-I/usr/local/include/db$v"
++ BERKELEY_DB_LIB="-ldb-$v"
+ AC_MSG_RESULT(FreeBSD locations)
+ break
+ fi
+ done
+ if test x"$BERKELEY_DB_LIB" = x ; then
+- for v in db41 db4 db3 db2 ; do
++ for v in 3 2 ; do
+- if test -d "/usr/include/$v" ; then
++ if test -d "/usr/include/db$v" ; then
+- BERKELEY_DB_CFLAGS="-I/usr/include/$v"
+- BERKELEY_DB_LIB="-l$v"
++ BERKELEY_DB_CFLAGS="-I/usr/include/db$v"
++ BERKELEY_DB_LIB="-ldb-$v"
+ AC_MSG_RESULT(Linux locations)
+ break
+ fi