aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-06-09 18:51:58 +0800
committermbr <mbr@FreeBSD.org>2003-06-09 18:51:58 +0800
commitbbf56e9af88af655de5d4a498384726cfad6b8fe (patch)
treeb37cffcafbf8718fc097a1ac125769cca117eddd
parent70941f1f00f61e924afa0efe3b83d3769a5ca49b (diff)
downloadfreebsd-ports-graphics-bbf56e9af88af655de5d4a498384726cfad6b8fe.tar.gz
freebsd-ports-graphics-bbf56e9af88af655de5d4a498384726cfad6b8fe.tar.zst
freebsd-ports-graphics-bbf56e9af88af655de5d4a498384726cfad6b8fe.zip
Add $CWD to $LD_LIBRARY_PATH as Linux does. This will make
the errors in setup.log go away.
-rw-r--r--editors/openoffice-1.1-devel/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice-1.1/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice-2.0-devel/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice-3-devel/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice-3/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice-devel/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-1.1/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-2-RC/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-2-devel/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-2.0/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-2/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-3-RC/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-3-devel/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-3/files/patch-setup2+script+setup.sh19
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-setup2+script+setup.sh19
17 files changed, 323 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-setup2+script+setup.sh b/editors/openoffice-1.1-devel/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice-1.1/files/patch-setup2+script+setup.sh b/editors/openoffice-1.1/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice-2.0-devel/files/patch-setup2+script+setup.sh b/editors/openoffice-2.0-devel/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice-3-devel/files/patch-setup2+script+setup.sh b/editors/openoffice-3-devel/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice-3/files/patch-setup2+script+setup.sh b/editors/openoffice-3/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice-3/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice-devel/files/patch-setup2+script+setup.sh b/editors/openoffice-devel/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-1.1-devel/files/patch-setup2+script+setup.sh b/editors/openoffice.org-1.1-devel/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-1.1/files/patch-setup2+script+setup.sh b/editors/openoffice.org-1.1/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-2-RC/files/patch-setup2+script+setup.sh b/editors/openoffice.org-2-RC/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-2-devel/files/patch-setup2+script+setup.sh b/editors/openoffice.org-2-devel/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-2.0-devel/files/patch-setup2+script+setup.sh b/editors/openoffice.org-2.0-devel/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-2.0/files/patch-setup2+script+setup.sh b/editors/openoffice.org-2.0/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-2/files/patch-setup2+script+setup.sh b/editors/openoffice.org-2/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-3-RC/files/patch-setup2+script+setup.sh b/editors/openoffice.org-3-RC/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-3-devel/files/patch-setup2+script+setup.sh b/editors/openoffice.org-3-devel/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-3/files/patch-setup2+script+setup.sh b/editors/openoffice.org-3/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH
diff --git a/editors/openoffice.org-vcltesttool/files/patch-setup2+script+setup.sh b/editors/openoffice.org-vcltesttool/files/patch-setup2+script+setup.sh
new file mode 100644
index 00000000000..705c3a4245f
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-setup2+script+setup.sh
@@ -0,0 +1,19 @@
+--- ../setup2/script/setup.sh.orig Mon Jun 9 07:49:10 2003
++++ ../setup2/script/setup.sh Mon Jun 9 07:49:56 2003
+@@ -118,6 +118,16 @@
+ LD_LIBRARY_PATH=${sd_archive_path}:.
+ export LD_LIBRARY_PATH
+ ;;
++ FreeBSD)
++ # @@@ <NOTE> @@@
++ # Please remove '.' as soon as all to be registered UNO components...
++ # 1) link with a runpath of '$ORIGIN', and
++ # 2) link against 'libcppuhelper$(COMID).so.$(UDK_MAJOR)'
++ # instead of obsolete 'libcppuhelper$(UDK_MAJOR)$(COMID).so'
++ # @@@ </NOTE> @@@
++ LD_LIBRARY_PATH=${sd_archive_path}:.
++ export LD_LIBRARY_PATH
++ ;;
+ IRIX*)
+ LD_LIBRARYN32_PATH=${sd_archive_path}
+ export LD_LIBRARYN32_PATH