aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.0
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-04 02:57:07 +0800
committermbr <mbr@FreeBSD.org>2002-03-04 02:57:07 +0800
commita0695f88d393ee773b1ed17856eb608db3ae8c2f (patch)
treeb072add8467afc42cde99b9f8fde4b249d384c5b /editors/openoffice-1.0
parent62f191ec4d67821aef4393efc83428a4ab3354a2 (diff)
downloadfreebsd-ports-graphics-a0695f88d393ee773b1ed17856eb608db3ae8c2f.tar.gz
freebsd-ports-graphics-a0695f88d393ee773b1ed17856eb608db3ae8c2f.tar.zst
freebsd-ports-graphics-a0695f88d393ee773b1ed17856eb608db3ae8c2f.zip
Our patch(1) does treat -b differently than Linux. This should fix the build.
Diffstat (limited to 'editors/openoffice-1.0')
-rw-r--r--editors/openoffice-1.0/files/patch-solenv+inc+tg_ext.mk14
-rw-r--r--editors/openoffice-1.0/files/patch-solenv::inc::tg_ext.mk14
2 files changed, 28 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-solenv+inc+tg_ext.mk b/editors/openoffice-1.0/files/patch-solenv+inc+tg_ext.mk
new file mode 100644
index 00000000000..194668e8674
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-solenv+inc+tg_ext.mk
@@ -0,0 +1,14 @@
+--- ../solenv/inc/tg_ext.mk.orig Sun Mar 3 19:47:04 2002
++++ ../solenv/inc/tg_ext.mk Sun Mar 3 19:47:08 2002
+@@ -148,7 +148,11 @@
+ .IF "$(BSCLIENT)"=="TRUE"
+ +cd $(PACKAGE_DIR) && $(TYPE) $(BACK_PATH)$(PATCH_FILE_NAME) | $(GNUPATCH) -f -b -p2 && $(TOUCH) $(PATCH_FLAG_FILE)
+ .ELSE # "$(BSCLIENT)"!=""
++.IF "$(OS)"=="FREEBSD"
+ +cd $(PACKAGE_DIR) && $(TYPE) $(BACK_PATH)$(PATCH_FILE_NAME) | patch -b -p2 && $(TOUCH) $(PATCH_FLAG_FILE)
++.ELSE
++ +cd $(PACKAGE_DIR) && $(TYPE) $(BACK_PATH)$(PATCH_FILE_NAME) | patch -p2 && $(TOUCH) $(PATCH_FLAG_FILE)
++.ENDIF
+ .ENDIF # "$(BSCLIENT)"!=""
+ .ENDIF # "$(GUI)"=="WNT"
+ .ENDIF # "$(PATCH_FILE_NAME)"=="none" || "$(PATCH_FILE_NAME)"==""
diff --git a/editors/openoffice-1.0/files/patch-solenv::inc::tg_ext.mk b/editors/openoffice-1.0/files/patch-solenv::inc::tg_ext.mk
new file mode 100644
index 00000000000..194668e8674
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-solenv::inc::tg_ext.mk
@@ -0,0 +1,14 @@
+--- ../solenv/inc/tg_ext.mk.orig Sun Mar 3 19:47:04 2002
++++ ../solenv/inc/tg_ext.mk Sun Mar 3 19:47:08 2002
+@@ -148,7 +148,11 @@
+ .IF "$(BSCLIENT)"=="TRUE"
+ +cd $(PACKAGE_DIR) && $(TYPE) $(BACK_PATH)$(PATCH_FILE_NAME) | $(GNUPATCH) -f -b -p2 && $(TOUCH) $(PATCH_FLAG_FILE)
+ .ELSE # "$(BSCLIENT)"!=""
++.IF "$(OS)"=="FREEBSD"
+ +cd $(PACKAGE_DIR) && $(TYPE) $(BACK_PATH)$(PATCH_FILE_NAME) | patch -b -p2 && $(TOUCH) $(PATCH_FLAG_FILE)
++.ELSE
++ +cd $(PACKAGE_DIR) && $(TYPE) $(BACK_PATH)$(PATCH_FILE_NAME) | patch -p2 && $(TOUCH) $(PATCH_FLAG_FILE)
++.ENDIF
+ .ENDIF # "$(BSCLIENT)"!=""
+ .ENDIF # "$(GUI)"=="WNT"
+ .ENDIF # "$(PATCH_FILE_NAME)"=="none" || "$(PATCH_FILE_NAME)"==""