summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-05 17:22:52 +0000
committermbr <mbr@FreeBSD.org>2002-03-05 17:22:52 +0000
commitd758d41fa406da5e0e256ed25ffa92cdd250bff7 (patch)
treebe64d2675cdb5c79f04fb6b82f031ce3f6c4cf0d /editors
parente82975727b83fb33e6f24a1de61b17ef00f6864c (diff)
downloadFreeBSD-ports-d758d41fa406da5e0e256ed25ffa92cdd250bff7.zip
FreeBSD-ports-d758d41fa406da5e0e256ed25ffa92cdd250bff7.tar.gz
Build berkeleydb with freebsd include dir and options
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice-1.0/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice-1.1-devel/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice-1.1/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice-1.1/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice-2.0-devel/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice-2.0-devel/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice-3-devel/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice-3-devel/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice-3/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice-3/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice-devel/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice-devel/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-1.0/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-1.0/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-1.1/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-1.1/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2-RC/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2-RC/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2-devel/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2-devel/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2.0/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2.0/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-2/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-3-RC/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-3-RC/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-3-devel/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-3-devel/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-3/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-3/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-berkeleydb::db-3.2.9.patch42
-rw-r--r--editors/openoffice/files/patch-berkeleydb+db-3.2.9.patch42
-rw-r--r--editors/openoffice/files/patch-berkeleydb::db-3.2.9.patch42
40 files changed, 1680 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice-1.0/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-1.0/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice-1.0/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-1.1-devel/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice-1.1-devel/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-1.1/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice-1.1/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-1.1/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice-1.1/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-2.0-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice-2.0-devel/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-2.0-devel/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice-2.0-devel/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-3-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice-3-devel/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-3-devel/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice-3-devel/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-3/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice-3/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-3/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-3/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice-3/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-3/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice-devel/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice-devel/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice-devel/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-1.0/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-1.0/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-1.0/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-1.0/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-1.1-devel/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-1.1-devel/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-1.1/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-1.1/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-1.1/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-1.1/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2-RC/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-2-RC/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2-RC/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-2-RC/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-2-devel/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2-devel/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-2-devel/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2.0-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-2.0-devel/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2.0-devel/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-2.0-devel/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2.0/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-2.0/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2.0/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-2.0/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-2/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-2/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-2/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-3-RC/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-3-RC/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-3-RC/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-3-RC/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-3-devel/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-3-devel/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-3-devel/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-3-devel/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-3/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-3/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-3/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-3/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-vcltesttool/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-vcltesttool/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice.org-vcltesttool/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice.org-vcltesttool/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice/files/patch-berkeleydb+db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice/files/patch-berkeleydb+db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
diff --git a/editors/openoffice/files/patch-berkeleydb::db-3.2.9.patch b/editors/openoffice/files/patch-berkeleydb::db-3.2.9.patch
new file mode 100644
index 0000000..50c2f44
--- /dev/null
+++ b/editors/openoffice/files/patch-berkeleydb::db-3.2.9.patch
@@ -0,0 +1,42 @@
+--- ../berkeleydb/db-3.2.9.patch.orig Mon Jun 11 16:09:22 2001
++++ ../berkeleydb/db-3.2.9.patch Tue Mar 5 17:13:09 2002
+@@ -43,3 +43,39 @@
+
+ CC= @MAKEFILE_CC@
+ CCLINK= @MAKEFILE_CCLINK@
++--- misc/build/db-3.2.9/dist/configure.orig Sat Nov 24 14:56:48 2001
+++++ misc/build/db-3.2.9/dist/configure Sat Nov 24 14:57:32 2001
++@@ -995,6 +995,7 @@
++ CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
++ LIBS="-lsocket -lsvipc $LIBS";;
+++freebsd*) optimize_def="-O";;
++ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
++ *qnx) cat >> confdefs.h <<\EOF
++ #define HAVE_QNX 1
++@@ -1795,6 +1796,7 @@
++ case "$host_os" in
++ solaris*) JINCSUBDIRS="solaris";;
++ linux*) JINCSUBDIRS="linux genunix";;
+++ freebsd*) JINCSUBDIRS="freebsd solaris linux genunix";;
++ *) JINCSUBDIRS="genunix";;
++ esac
++
++--- misc/build/db-3.2.9/dist/ltconfig.orig Sat Nov 24 14:56:10 2001
+++++ misc/build/db-3.2.9/dist/ltconfig Sat Nov 24 14:56:34 2001
++@@ -1194,11 +1194,12 @@
++
++ freebsd*)
++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
++- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++- else
++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
++ # can we support soname and/or expsyms with a.out? -oliva
+++ else
+++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+++ need_version=no
++ fi
++ ;;
++
OpenPOWER on IntegriCloud