summaryrefslogtreecommitdiff
path: root/app-office/openoffice-bin/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/openoffice-bin/files')
-rw-r--r--app-office/openoffice-bin/files/50-openoffice-bin3
-rw-r--r--app-office/openoffice-bin/files/wrapper.in4
2 files changed, 7 insertions, 0 deletions
diff --git a/app-office/openoffice-bin/files/50-openoffice-bin b/app-office/openoffice-bin/files/50-openoffice-bin
new file mode 100644
index 000000000000..5b7877ba461a
--- /dev/null
+++ b/app-office/openoffice-bin/files/50-openoffice-bin
@@ -0,0 +1,3 @@
+SEARCH_DIRS_MASK="@GENTOO_PORTAGE_EPREFIX@/usr/lib/openoffice
+@GENTOO_PORTAGE_EPREFIX@/usr/lib32/openoffice
+@GENTOO_PORTAGE_EPREFIX@/usr/lib64/openoffice"
diff --git a/app-office/openoffice-bin/files/wrapper.in b/app-office/openoffice-bin/files/wrapper.in
new file mode 100644
index 000000000000..0cd84a19e640
--- /dev/null
+++ b/app-office/openoffice-bin/files/wrapper.in
@@ -0,0 +1,4 @@
+#!/bin/sh
+export OOO_EXTRA_ARG=''
+unset PYTHONPATH
+@GENTOO_PORTAGE_EPREFIX@/usr/LIBDIR/openoffice/program/soffice "$@"