diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/txt2regex/files/txt2regex-0.8-disable-nls.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/txt2regex/files/txt2regex-0.8-disable-nls.patch')
-rw-r--r-- | dev-util/txt2regex/files/txt2regex-0.8-disable-nls.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-util/txt2regex/files/txt2regex-0.8-disable-nls.patch b/dev-util/txt2regex/files/txt2regex-0.8-disable-nls.patch new file mode 100644 index 000000000000..878b84a7e3ea --- /dev/null +++ b/dev-util/txt2regex/files/txt2regex-0.8-disable-nls.patch @@ -0,0 +1,19 @@ +--- Makefile.orig 2015-10-13 20:09:55.612486000 +0000 ++++ Makefile 2015-10-13 20:11:19.166486000 +0000 +@@ -81,15 +81,9 @@ + rm -rf $(DISTDIR) + + #TODO install man page and README +-install: mo ++install: + @[ -d $(LOCALEDIR) ] || mkdir -p $(LOCALEDIR); \ + [ -d $(BINDIR) ] || mkdir -p $(BINDIR); \ +- for pot in `cd $(PODIR) && ls *.mo`; do \ +- poti=`echo $$pot | sed 's/\.mo$$//'`; \ +- modir=$(LOCALEDIR)/$$poti/LC_MESSAGES; \ +- [ -d $$modir ] || mkdir -p $$modir; \ +- install -m644 $(PODIR)/$$pot $$modir/$(NAME).mo; \ +- done; \ + sed -e '/^TEXTDOMAINDIR=/s,=.*,=$(BLOCALEDIR),' \ + -e '/^VERSION=/s/=.*/=$(VERSION)/' $(SHSKEL) > $(BINDIR)/$(NAME) && \ + chmod +x $(BINDIR)/$(NAME) && \ |