summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2000-11-06 15:29:18 +0000
committeritojun <itojun@NetBSD.org>2000-11-06 15:29:18 +0000
commite3ec4c046330d138bad030a99d2d8799a3ff12bd (patch)
treea032d6b6542e9b98120db7802ad9d67f3cf54b05 /gnu
parente22c13589cec0ce1d799dd1976f5146fe754aa03 (diff)
MKNLS should control installation of /usr/share/locale only.
(we may want to have additional variable to control libintl-readiness)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/grep/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile
index 9614925253e..d8cfe080ee3 100644
--- a/gnu/usr.bin/grep/Makefile
+++ b/gnu/usr.bin/grep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2000/10/31 10:50:46 itojun Exp $
+# $NetBSD: Makefile,v 1.19 2000/11/06 15:29:18 itojun Exp $
.include <bsd.own.mk>
@@ -12,7 +12,6 @@ DIST= ${.CURDIR}/../../dist
CPPFLAGS+= -DHAVE_CONFIG_H
CLEANFILES+= ${PROG}.1 ${PROG}.info ${PROG}.cat1
-.if ${MKNLS} != "no"
LDADD+= -lintl
DPADD+= ${LIBINTL}
CPPFLAGS+= -I${DIST}/grep/src -I${.CURDIR}
@@ -20,15 +19,16 @@ CPPFLAGS+= -DENABLE_NLS -DHAVE_LIBINTL_H=1 \
-DGNULOCALEDIR=\"/usr/share/locale\" \
-DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" \
-DLOCALEDIR=\"/usr/share/locale\"
+# libintl-less build should use this instead of the above lines
+#CPPFLAGS+= -I${DIST}/grep/src -I${.CURDIR}
+.if ${MKNLS} != "no"
.for F in de.gmo el.gmo es.gmo fr.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo \
ru.gmo sl.gmo sv.gmo
FILES+= ${F}
FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES
FILESNAME_${F}= grep.mo
.endfor
-.else
-CPPFLAGS+= -I${DIST}/grep/src -I${.CURDIR}
.endif
TEXINFO= grep.texi