From a0695f88d393ee773b1ed17856eb608db3ae8c2f Mon Sep 17 00:00:00 2001 From: mbr Date: Sun, 3 Mar 2002 18:57:07 +0000 Subject: Our patch(1) does treat -b differently than Linux. This should fix the build. --- editors/openoffice/files/patch-solenv+inc+tg_ext.mk | 14 ++++++++++++++ editors/openoffice/files/patch-solenv::inc::tg_ext.mk | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 editors/openoffice/files/patch-solenv+inc+tg_ext.mk create mode 100644 editors/openoffice/files/patch-solenv::inc::tg_ext.mk (limited to 'editors/openoffice') diff --git a/editors/openoffice/files/patch-solenv+inc+tg_ext.mk b/editors/openoffice/files/patch-solenv+inc+tg_ext.mk new file mode 100644 index 000000000000..194668e86748 --- /dev/null +++ b/editors/openoffice/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/files/patch-solenv::inc::tg_ext.mk b/editors/openoffice/files/patch-solenv::inc::tg_ext.mk new file mode 100644 index 000000000000..194668e86748 --- /dev/null +++ b/editors/openoffice/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)"=="" -- cgit