summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2000-10-31 10:50:46 +0000
committeritojun <itojun@NetBSD.org>2000-10-31 10:50:46 +0000
commit8fcca1eaa343a033c762f03fdb5e199272ca192f (patch)
tree9dcbafb107826e1c7666af3a35b572ce57ce72f4 /gnu/usr.bin
parentcaf7b1106337b458180f8919c3c41de33d2db978 (diff)
do not compile libintl on our own. we now have /usr/lib/libintl.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/grep/Makefile9
-rw-r--r--gnu/usr.bin/grep/libintl.h3
2 files changed, 4 insertions, 8 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile
index 6c1459e6788..9614925253e 100644
--- a/gnu/usr.bin/grep/Makefile
+++ b/gnu/usr.bin/grep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2000/10/28 06:18:07 itojun Exp $
+# $NetBSD: Makefile,v 1.18 2000/10/31 10:50:46 itojun Exp $
.include <bsd.own.mk>
@@ -13,10 +13,9 @@ CPPFLAGS+= -DHAVE_CONFIG_H
CLEANFILES+= ${PROG}.1 ${PROG}.info ${PROG}.cat1
.if ${MKNLS} != "no"
-SRCS+= bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c \
- loadmsgcat.c localealias.c textdomain.c l10nflist.c \
- explodename.c intl-compat.c
-CPPFLAGS+= -I${DIST}/grep/src -I${DIST}/grep/intl -I${.CURDIR}
+LDADD+= -lintl
+DPADD+= ${LIBINTL}
+CPPFLAGS+= -I${DIST}/grep/src -I${.CURDIR}
CPPFLAGS+= -DENABLE_NLS -DHAVE_LIBINTL_H=1 \
-DGNULOCALEDIR=\"/usr/share/locale\" \
-DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" \
diff --git a/gnu/usr.bin/grep/libintl.h b/gnu/usr.bin/grep/libintl.h
deleted file mode 100644
index 343a5840bf8..00000000000
--- a/gnu/usr.bin/grep/libintl.h
+++ /dev/null
@@ -1,3 +0,0 @@
-/* $NetBSD: libintl.h,v 1.1 1999/04/06 16:54:55 mrg Exp $ */
-
-#include <libgettext.h>