You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-chemistry/gperiodic/files/gperiodic-2.0.10-nls.patch

21 lines
508 B

po/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/po/Makefile b/po/Makefile
index d7d7d78..179dad6 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -26,10 +26,12 @@ endif
install:
$(MAKE) all
+ifeq ($(enable_nls),1)
for f in $(FILES_MO) ; do \
mkdir -p $(DESTDIR)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES ; \
install -m 644 $$f $(DESTDIR)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PACKAGE).mo ; \
done
+endif
uninstall:
for f in $(FILES_MO) ; do \