summaryrefslogtreecommitdiff
path: root/print/texfamily/patches/patch-ah
blob: eaf9211c02d942f98073c67e13b8d182c0c430ea (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
$NetBSD: patch-ah,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $

--- texk/jmakeindex/src/makefile.unx.orig	Fri Apr 13 15:00:08 2001
+++ texk/jmakeindex/src/makefile.unx	Fri Apr 13 15:15:04 2001
@@ -6,7 +6,7 @@
 #  University of California, Berkeley
 #
 
-DEST	      = /usr/local/bin
+DEST	      = ${PREFIX}/bin
 
 MANDIR	      = /usr/local/man/manl
 
@@ -24,11 +24,9 @@
 
 CFLAGS	      = -O
 
-LDFLAGS	      = $(CFLAGS)
-
 LIBS	      =
 
-LINKER	      = cc
+LINKER	      = ${CC}
 
 MAKEFILE      = Makefile
 
@@ -48,7 +46,7 @@
 		scanst.c \
 		sortid.c
 
-PROGRAM	      = makeindex
+PROGRAM	      = jmakeindex
 
 TAR	      = $(PROGRAM).tar
 
@@ -62,7 +60,7 @@
 		@size $(PROGRAM)
 
 install:	$(PROGRAM)
-		install -c -s -m 0755 $(PROGRAM) $(DEST)
+		${INSTALL_PROGRAM} $(PROGRAM) $(DEST)
 		@ls -lgs $(DEST)/$(PROGRAM)
 
 tar:;		@rm -f $(TAR)