$NetBSD: patch-ac,v 1.5 2001/07/18 20:04:13 martin Exp $
--- nls/Makefile.orig	Mon Jul 16 00:30:02 2001
+++ nls/Makefile	Wed Jul 18 06:56:10 2001
@@ -1,6 +1,6 @@
 LANGFILE=LANGS
 CATNAME=elm2.5.cat
-GENCAT=	gencat/gencat
+GENCAT=	./gencat/gencat
 
 HDIR=	../hdrs
 SDIR=	C/C/C
@@ -35,8 +35,11 @@
 # same basename, so wait until install to put them somewhere.
 all:
 
-install:
+install: $(GENCAT)
 	./Install $(LANGFILE) $(GENCAT) $(CATNAME)
+
+$(GENCAT):
+	cd gencat && $(MAKE) $(MFLAGS) $(MJ)
 
 $(HFILES): $(MFILES)
 	gencat/gencat $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
