summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils/coreutils-6.9/build-don-t-need-charset.alias-when-building-for-mus.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils-6.9/build-don-t-need-charset.alias-when-building-for-mus.patch')
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/build-don-t-need-charset.alias-when-building-for-mus.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/build-don-t-need-charset.alias-when-building-for-mus.patch b/meta/recipes-core/coreutils/coreutils-6.9/build-don-t-need-charset.alias-when-building-for-mus.patch
new file mode 100644
index 0000000000..d661e59f13
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-6.9/build-don-t-need-charset.alias-when-building-for-mus.patch
@@ -0,0 +1,46 @@
1From 542811eecc05c6c43590bde3852598aa6277abf3 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <adraszik@tycoint.com>
3Date: Thu, 23 Mar 2017 12:46:07 +0000
4Subject: [PATCH] build: don't need charset.alias when building for musl
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Inappropriate [required for coreutils 6.9 (GPLv2) recipe only]
10
11Signed-off-by: André Draszik <adraszik@tycoint.com>
12Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
13---
14 lib/gnulib.mk | 9 +++++++--
15 1 file changed, 7 insertions(+), 2 deletions(-)
16
17diff --git a/lib/gnulib.mk b/lib/gnulib.mk
18index e833d14..04b2b74 100644
19--- a/lib/gnulib.mk
20+++ b/lib/gnulib.mk
21@@ -907,7 +907,11 @@ all-local: charset.alias ref-add.sed ref-del.sed
22 charset_alias = $(DESTDIR)$(libdir)/charset.alias
23 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
24 install-exec-local: all-local
25- test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
26+ case '$(host_os)' in \
27+ linux-musl*) \
28+ : ;;\
29+ *) \
30+ test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir) ;\
31 if test -f $(charset_alias); then \
32 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
33 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
34@@ -918,7 +922,8 @@ install-exec-local: all-local
35 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
36 rm -f $(charset_tmp) ; \
37 fi ; \
38- fi
39+ fi ;\
40+ esac
41
42 uninstall-local: all-local
43 if test -f $(charset_alias); then \
44--
452.11.0
46