aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-10-21 18:32:39 +0800
committermbr <mbr@FreeBSD.org>2002-10-21 18:32:39 +0800
commitbc2b665e7bd6b01d4699e469387d5310f467cc31 (patch)
treed00287b6f486cffd340e742379d6bda842416de6 /editors
parentd5eac841f2ad757f64bb615e1cc8d5d9495213c8 (diff)
downloadfreebsd-ports-gnome-bc2b665e7bd6b01d4699e469387d5310f467cc31.tar.gz
freebsd-ports-gnome-bc2b665e7bd6b01d4699e469387d5310f467cc31.tar.zst
freebsd-ports-gnome-bc2b665e7bd6b01d4699e469387d5310f467cc31.zip
Use "tar -xzf" to extract so this target actually works.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.1-devel/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice-1.1/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice-2.0-devel/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice-3-devel/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice-3/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice-devel/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-1.1/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-2-RC/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-2-devel/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-2.0/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-2/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-3-RC/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-3-devel/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-3/files/patch-odk+pack+unzip_udk+makefile.mk18
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-odk+pack+unzip_udk+makefile.mk18
17 files changed, 306 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice-1.1-devel/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice-1.1/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice-1.1/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice-2.0-devel/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice-2.0-devel/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice-3-devel/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice-3-devel/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice-3/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice-3/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice-3/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice-devel/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice-devel/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-1.1-devel/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-1.1-devel/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-1.1/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-1.1/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-2-RC/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-2-RC/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-2-devel/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-2-devel/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-2.0-devel/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-2.0-devel/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-2.0/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-2.0/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-2/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-2/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-3-RC/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-3-RC/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-3-devel/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-3-devel/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-3/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-3/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME
diff --git a/editors/openoffice.org-vcltesttool/files/patch-odk+pack+unzip_udk+makefile.mk b/editors/openoffice.org-vcltesttool/files/patch-odk+pack+unzip_udk+makefile.mk
new file mode 100644
index 000000000000..c90775d4162c
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-odk+pack+unzip_udk+makefile.mk
@@ -0,0 +1,18 @@
+--- ../odk/pack/unzip_udk/makefile.mk.orig Thu Aug 8 09:28:10 2002
++++ ../odk/pack/unzip_udk/makefile.mk Fri Oct 18 20:14:46 2002
+@@ -44,9 +44,15 @@
+ .ELSE
+ $(GNUCOPY) -p $(UDKPATH) .
+ $(GNUCOPY) -p $(ODKDOCPATH) .
++.IF "$(OS)"=="FREEBSD"
++ tar -xzf $(UDKZIPPREFIX).tar.gz
++ +-$(RENAME) $(UDKNAME) $(ODKNAME)
++ tar -xzf $(ODKDOCNAME).tar.gz
++.ELSE
+ gzip -df < $(UDKZIPPREFIX).tar.gz | tar -xvf -
+ +-$(RENAME) $(UDKNAME) $(ODKNAME)
+ gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf -
++.ENDIF
+ .ENDIF
+ .IF "$(BUILD_SOSL)"!=""
+ # for OpenOffice build rename to PRODUCT_NAME