summaryrefslogtreecommitdiff
path: root/sci-chemistry/gperiodic/files/gperiodic-2.0.10-nls.patch
blob: de0bea04dc144452ea99e8dc07ac8334361d7995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 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 \