summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-18 16:15:31 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-18 16:15:31 +0300
commit7e9e4a1245948135ed507c0596a392544ab2a9df (patch)
tree65dbe28f4a50363f1237cc04b6801bda0b4165f4
parentbd525a6ec0b0c380de628f196dbaba2d8b81a0f0 (diff)
downloadillumos-packaging-7e9e4a1245948135ed507c0596a392544ab2a9df.tar.gz
localedef: build only the prog
-rw-r--r--libc/debian/patches/localedef-prog-only.patch18
-rw-r--r--libc/debian/patches/series1
2 files changed, 19 insertions, 0 deletions
diff --git a/libc/debian/patches/localedef-prog-only.patch b/libc/debian/patches/localedef-prog-only.patch
new file mode 100644
index 0000000..6e987e1
--- /dev/null
+++ b/libc/debian/patches/localedef-prog-only.patch
@@ -0,0 +1,18 @@
+Index: libc/usr/src/cmd/localedef/Makefile
+===================================================================
+--- libc.orig/usr/src/cmd/localedef/Makefile
++++ libc/usr/src/cmd/localedef/Makefile
+@@ -268,11 +268,11 @@ ROOTPRIVTRANS = $(PRIVTRANSLOCS:%=$(ROOT
+
+ $(ROOTDATA) := FILEMODE=0444
+
+-all: $(PROG) $(DATA)
++all: $(PROG)
+
+ translate: $(ROOTTRANSLATIONS) $(ROOTPRIVTRANS)
+
+-install: all $(ROOTPROG) $(ROOTDATA) $(ROOTTRANSLATIONS) $(ROOTPRIVTRANS)
++install: all $(ROOTPROG)
+
+ $(NDIR):
+ mkdir $@
diff --git a/libc/debian/patches/series b/libc/debian/patches/series
index e388291..3fb46a2 100644
--- a/libc/debian/patches/series
+++ b/libc/debian/patches/series
@@ -138,3 +138,4 @@ libresolv-getdomainname.patch
no-misleading-indentation.patch
head-make-secondary.patch
librpcsvc-uts-rpcsvc.patch
+localedef-prog-only.patch