From b307e9e6efe01d2b2d0c21b174186bc7d16f0adb Mon Sep 17 00:00:00 2001 From: Johan van Selst Date: Mon, 21 Apr 2014 12:29:40 +0000 Subject: Fix installation on FreeBSD < 10 Avoid running undefined RM command on files outside STAGEDIR Submitted by: antoine --- lang/gawk/files/patch-Makefile | 6 +++--- lang/gawk/files/patch-extension_Makefile.in | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 lang/gawk/files/patch-extension_Makefile.in (limited to 'lang/gawk/files') diff --git a/lang/gawk/files/patch-Makefile b/lang/gawk/files/patch-Makefile index 10e187313474..7736ac45dc94 100644 --- a/lang/gawk/files/patch-Makefile +++ b/lang/gawk/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2013-05-09 14:59:40.000000000 +0200 -+++ Makefile.in 2013-05-13 16:46:23.000000000 +0200 -@@ -1131,7 +1131,7 @@ uninstall-am: uninstall-binPROGRAMS unin +--- Makefile.in.orig 2014-04-08 18:12:38.000000000 +0200 ++++ Makefile.in 2014-04-21 14:23:45.000000000 +0200 +@@ -1151,7 +1151,7 @@ uninstall-am: uninstall-binPROGRAMS unin install-exec-hook: (cd $(DESTDIR)$(bindir); \ $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \ diff --git a/lang/gawk/files/patch-extension_Makefile.in b/lang/gawk/files/patch-extension_Makefile.in new file mode 100644 index 000000000000..a86458d7f03c --- /dev/null +++ b/lang/gawk/files/patch-extension_Makefile.in @@ -0,0 +1,12 @@ +--- extension/Makefile.in.orig 2014-04-08 18:13:03.000000000 +0200 ++++ extension/Makefile.in 2014-04-21 14:26:04.000000000 +0200 +@@ -1230,9 +1230,6 @@ uninstall-man: uninstall-man3 + + + install-data-hook: +- for i in $(pkgextension_LTLIBRARIES) ; do \ +- $(RM) $(pkgextensiondir)/$$i ; \ +- done + + # Keep the uninstall check working: + uninstall-so: -- cgit v1.2.3