aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-07-31 18:24:12 +0800
committermbr <mbr@FreeBSD.org>2002-07-31 18:24:12 +0800
commit3d50188d4edbf49f35ec491ad037af029c8add6f (patch)
treef79a7f38774cc655b5baed1bf0b787dae1a4f34c /editors
parente2bbe95c512e694ddd99d723e3759403120da15a (diff)
downloadfreebsd-ports-gnome-3d50188d4edbf49f35ec491ad037af029c8add6f.tar.gz
freebsd-ports-gnome-3d50188d4edbf49f35ec491ad037af029c8add6f.tar.zst
freebsd-ports-gnome-3d50188d4edbf49f35ec491ad037af029c8add6f.zip
Use the same libs to link with as linux does.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice-1.0/files/patch-desktop::util::makefile.mk20
-rw-r--r--editors/openoffice-1.1-devel/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice-1.1/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice-2.0-devel/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice-3-devel/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice-3/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice-devel/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-1.0/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-1.0/files/patch-desktop::util::makefile.mk20
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-1.1/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-2-RC/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-2-devel/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-2.0/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-2/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-3-RC/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-3-devel/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-3/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice/files/patch-desktop+util+makefile.mk20
-rw-r--r--editors/openoffice/files/patch-desktop::util::makefile.mk20
23 files changed, 460 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-desktop+util+makefile.mk b/editors/openoffice-1.0/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice-1.0/files/patch-desktop::util::makefile.mk b/editors/openoffice-1.0/files/patch-desktop::util::makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-desktop::util::makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice-1.1-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice-1.1-devel/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice-1.1/files/patch-desktop+util+makefile.mk b/editors/openoffice-1.1/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice-2.0-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice-2.0-devel/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice-3-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice-3-devel/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice-3/files/patch-desktop+util+makefile.mk b/editors/openoffice-3/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice-3/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice-devel/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-1.0/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-1.0/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-1.0/files/patch-desktop::util::makefile.mk b/editors/openoffice.org-1.0/files/patch-desktop::util::makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-desktop::util::makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-1.1-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-1.1/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-1.1/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-2-RC/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-2-RC/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-2-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-2-devel/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-2.0-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-2.0-devel/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-2.0/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-2.0/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-2/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-2/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-3-RC/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-3-RC/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-3-devel/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-3-devel/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-3/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-3/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice.org-vcltesttool/files/patch-desktop+util+makefile.mk b/editors/openoffice.org-vcltesttool/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice/files/patch-desktop+util+makefile.mk b/editors/openoffice/files/patch-desktop+util+makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice/files/patch-desktop+util+makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+
diff --git a/editors/openoffice/files/patch-desktop::util::makefile.mk b/editors/openoffice/files/patch-desktop::util::makefile.mk
new file mode 100644
index 000000000000..8ceb57682cc7
--- /dev/null
+++ b/editors/openoffice/files/patch-desktop::util::makefile.mk
@@ -0,0 +1,20 @@
+--- ../desktop/util/makefile.mk.orig Sun Jul 21 00:04:35 2002
++++ ../desktop/util/makefile.mk Sun Jul 21 00:04:38 2002
+@@ -81,7 +81,7 @@
+
+ # --- Linken der Applikation ---------------------------------------
+
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+ # #74158# linux needs sal/vos/tools at end of link list, solaris needs it first,
+ # winXX is handled like solaris for now
+ APP1_STDPRE=
+@@ -111,7 +111,7 @@
+ $(SALHELPERLIB)
+
+ .IF "$(GUI)" == "UNX"
+-.IF "$(OS)" == "LINUX"
++.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
+
+ APP1STDLIBS+= -lXext -lSM -lICE
+