$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)