summaryrefslogtreecommitdiff
path: root/sci-chemistry/gperiodic/files/gperiodic-3.0.1-nls.patch
blob: 4420ca68e585f62f1fa3b2d71ed6b5784e3f3dd4 (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 file changed, 2 insertions(+)

diff --git a/po/Makefile b/po/Makefile
index d7d7d78..c596e5b 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 \