$NetBSD: patch-aa,v 1.6 2006/12/06 15:36:32 taca Exp $

--- Makefile.orig	2006-10-31 00:00:00.000000000 +0900
+++ Makefile
@@ -2,10 +2,10 @@
 #	Makefile for fd
 #
 
-VERSION	= 2
+VERSION	?= 2
 VERMAJ	= $(VERSION)
-PREFIX	= /usr/local
-CONFDIR	= /etc
+PREFIX	?= /usr/local
+CONFDIR	?= /etc
 BUILD	=
 SHELL	= /bin/sh
 MAKE	= make
@@ -16,6 +16,7 @@ DICTSRC	=
 
 DEFCFLAGS = -DPREFIX='"'$(PREFIX)'"' \
 	-DCONFDIR='"'$(CONFDIR)'"' \
+	-DUSEMANLANG -DUSEDATADIR \
 	-DDICTSRC='"''$(DICTSRC)''"' \
 	-DFD=$(VERMAJ) \
 	-DCCCOMMAND='"'$(CC)'"' \
@@ -91,7 +92,8 @@ mkmfsed: mkmfsed.c fd.h machine.h config
 config.h: config.hin
 	cp config.hin config.h
 
-install catman catman-b compman compman-b \
+install install-sh install-bsh install-everything \
+catman catman-b compman compman-b \
 jcatman jcatman-b jcompman jcompman-b: Makefile.tmp
 	$(MAKE) BUILD=$(BUILD) -f Makefile.tmp $@
 
