summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1/files
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-03-05 17:22:52 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-03-05 17:22:52 +0000
commit7bbd08efc9552735f8609e794c4725e6215641cd (patch)
treea9b62521826f34a886d3df2ff2e8811ccf9140f7 /editors/openoffice-1.1/files
parentHost distfiles at a temporary site until the main page reappears. (diff)
Build berkeleydb with freebsd include dir and options
Notes
Notes: svn path=/head/; revision=55589
Diffstat (limited to 'editors/openoffice-1.1/files')
-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
2 files changed, 84 insertions, 0 deletions
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 000000000000..50c2f44a704e
--- /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 000000000000..50c2f44a704e
--- /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
++ ;;
++