diff options
Diffstat (limited to 'meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch')
| -rw-r--r-- | meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch b/meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch new file mode 100644 index 0000000000..b8b1fcaea7 --- /dev/null +++ b/meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | From 976f73ab03569bb836aa5c949be1c1cc973b2d2e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "Arnold D. Robbins" <arnold@skeeve.com> | ||
| 3 | Date: Fri, 11 Apr 2014 07:42:16 +0300 | ||
| 4 | Subject: [PATCH] Use $(DESTDIR) in extension/Makefile.am when removing .la | ||
| 5 | files. | ||
| 6 | |||
| 7 | commit 976f73ab03569bb836aa5c949be1c1cc973b2d2e upstream. | ||
| 8 | |||
| 9 | [PG: note there was no Author SOB or long log in original.] | ||
| 10 | Upstream-Status: Backport [ gawk-4.1.1-3-g976f73ab0356 ] | ||
| 11 | Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> | ||
| 12 | --- | ||
| 13 | |||
| 14 | diff --git a/extension/ChangeLog b/extension/ChangeLog | ||
| 15 | index afd64ff764b6..f3a1c7a81e7d 100644 | ||
| 16 | --- a/extension/ChangeLog | ||
| 17 | +++ b/extension/ChangeLog | ||
| 18 | @@ -1,3 +1,9 @@ | ||
| 19 | +2014-04-11 Arnold D. Robbins <arnold@skeeve.com> | ||
| 20 | + | ||
| 21 | + * Makefile.am (install-data-hook): Use $(DESTDIR) when removing | ||
| 22 | + the .la files. Thanks to Lars Wendler <polynomial-c@gentoo.org> | ||
| 23 | + for the report and fix. | ||
| 24 | + | ||
| 25 | 2014-04-08 Arnold D. Robbins <arnold@skeeve.com> | ||
| 26 | |||
| 27 | * 4.1.1: Release tar ball made. | ||
| 28 | diff --git a/extension/Makefile.am b/extension/Makefile.am | ||
| 29 | index 9c49bb81abb2..11826e2b315e 100644 | ||
| 30 | --- a/extension/Makefile.am | ||
| 31 | +++ b/extension/Makefile.am | ||
| 32 | @@ -100,7 +100,7 @@ testext_la_LIBADD = $(MY_LIBS) | ||
| 33 | |||
| 34 | install-data-hook: | ||
| 35 | for i in $(pkgextension_LTLIBRARIES) ; do \ | ||
| 36 | - $(RM) $(pkgextensiondir)/$$i ; \ | ||
| 37 | + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ | ||
| 38 | done | ||
| 39 | |||
| 40 | # Keep the uninstall check working: | ||
| 41 | diff --git a/extension/Makefile.in b/extension/Makefile.in | ||
| 42 | index 040cdb8f4e23..d81b16960935 100644 | ||
| 43 | --- a/extension/Makefile.in | ||
| 44 | +++ b/extension/Makefile.in | ||
| 45 | @@ -1231,7 +1231,7 @@ uninstall-man: uninstall-man3 | ||
| 46 | |||
| 47 | install-data-hook: | ||
| 48 | for i in $(pkgextension_LTLIBRARIES) ; do \ | ||
| 49 | - $(RM) $(pkgextensiondir)/$$i ; \ | ||
| 50 | + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ | ||
| 51 | done | ||
| 52 | |||
| 53 | # Keep the uninstall check working: | ||
| 54 | -- | ||
| 55 | 1.9.1 | ||
| 56 | |||
