summaryrefslogtreecommitdiff
blob: c64103550ce1bbd52eadb4342cd111ac8718c2de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Fix sandbox issue.

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

--- gawk-4.1.1/extension/Makefile.am	2014-02-20 19:42:25.000000000 +0100
+++ gawk-4.1.1/extension/Makefile.am	2014-02-20 19:42:25.000000000 +0100
@@ -100,7 +100,7 @@
 
 install-data-hook:
 	for i in $(pkgextension_LTLIBRARIES) ; do \
-		$(RM) $(pkgextensiondir)/$$i ; \
+		$(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \
 	done
 
 # Keep the uninstall check working:
--- gawk-4.1.1/extension/Makefile.in	2014-04-08 18:13:03.000000000 +0200
+++ gawk-4.1.1/extension/Makefile.in	2014-04-08 18:13:03.000000000 +0200
@@ -1231,7 +1231,7 @@
 
 install-data-hook:
 	for i in $(pkgextension_LTLIBRARIES) ; do \
-		$(RM) $(pkgextensiondir)/$$i ; \
+		$(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \
 	done
 
 # Keep the uninstall check working: