summaryrefslogtreecommitdiff
path: root/misc/fd/patches/patch-aa
blob: a7fa5bb8c318de83338912f9a94f807a96cb68f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$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 $@