From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../txt2regex/files/txt2regex-0.8-disable-nls.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dev-util/txt2regex/files/txt2regex-0.8-disable-nls.patch (limited to 'dev-util/txt2regex/files/txt2regex-0.8-disable-nls.patch') 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) && \ -- cgit v1.2.3