summaryrefslogtreecommitdiff
path: root/textproc/dict-server/patches/patch-ab
blob: 00e1149700452adedd521af50f472107736949ea (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$NetBSD: patch-ab,v 1.3 2002/10/11 00:47:29 uebayasi Exp $

--- Makefile.in.orig	Tue Aug 13 22:28:04 2002
+++ Makefile.in
@@ -33,7 +33,7 @@
 srcdir=		@srcdir@
 VPATH=		@srcdir@
 prefix=		@prefix@
-subdirs=        @allsubdirs@ regex # doc -- use rfc2229 instead
+subdirs=        @allsubdirs@ # regex doc -- use rfc2229 instead
 exec_prefix=	@exec_prefix@
 man1_prefix=	@mandir@/man1
 man8_prefix=	@mandir@/man8
@@ -57,9 +57,9 @@
 		-DDICT_CONFIG_PATH=\"$(conf)\"
 SCFLAGS=        @SCFLAGS@
 LDFLAGS=        @LDFLAGS@
-XTRACFLAGS=     @WCFLAGS@ @XTRACFLAGS@ @DEFS@ @CPPFLAGS@ -I. -Iregex
+XTRACFLAGS=     @WCFLAGS@ @XTRACFLAGS@ @DEFS@ @CPPFLAGS@ -I.
 XTRALDFLAGS=    @WLDFLAGS@ @XTRALDFLAGS@
-LDLIBS=		@LIBS@ -Lregex -lregex
+LDLIBS=		@LIBS@
 
 EXES=	 	dict dictd dictzip dictfmt
 
@@ -150,26 +150,26 @@
 	if test ! -d $(bindir); then $(INSTALL) -d 755 $(bindir); fi
 	if test ! -d $(man1_prefix); then $(INSTALL) -d 755 $(man1_prefix); fi
 	$(INSTALL_PROGRAM) dict $(bindir)
-	$(INSTALL_DATA) dict.1 $(man1_prefix)/dict.1
+	$(BSD_INSTALL_MAN) dict.1 $(man1_prefix)/dict.1
 
 install.dictzip: dictzip
 	if test ! -d $(bindir); then $(INSTALL) -d 755 $(bindir); fi
 	if test ! -d $(man1_prefix); then $(INSTALL) -d 755 $(man1_prefix); fi
 	$(INSTALL_PROGRAM) dictzip $(bindir)
-	$(INSTALL_DATA) dictzip.1 $(man1_prefix)/dictzip.1
+	$(BSD_INSTALL_MAN) dictzip.1 $(man1_prefix)/dictzip.1
 
 install.dictfmt: dictfmt
 	if test ! -d $(bindir); then $(INSTALL) -d 755 $(bindir); fi
 	if test ! -d $(man1_prefix); then $(INSTALL) -d 755 $(man1_prefix); fi
 	$(INSTALL_PROGRAM) dictfmt $(bindir)
-	$(INSTALL_PROGRAM) dictfmt_index2suffix $(bindir)
-	$(INSTALL_DATA) dictfmt.1 $(man1_prefix)/dictfmt.1
+	$(BSD_INSTALL_SCRIPT) dictfmt_index2suffix $(bindir)
+	$(BSD_INSTALL_MAN) dictfmt.1 $(man1_prefix)/dictfmt.1
 
 install.dictd: dictd
 	if test ! -d $(sbindir); then $(INSTALL) -d 755 $(sbindir); fi
-	if test ! -d $(man8_prefix); then install -d 755 $(man8_prefix); fi
+	if test ! -d $(man8_prefix); then $(INSTALL) -d 755 $(man8_prefix); fi
 	$(INSTALL_PROGRAM) dictd $(sbindir)
-	$(INSTALL_DATA) dictd.8 $(man8_prefix)/dictd.8
+	$(BSD_INSTALL_MAN) dictd.8 $(man8_prefix)/dictd.8
 
 .PHONY: install