diff options
Diffstat (limited to 'japanese/kcc/files/patch-Makefile')
-rw-r--r-- | japanese/kcc/files/patch-Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/japanese/kcc/files/patch-Makefile b/japanese/kcc/files/patch-Makefile new file mode 100644 index 000000000000..374a9e57c8ef --- /dev/null +++ b/japanese/kcc/files/patch-Makefile @@ -0,0 +1,31 @@ +--- Makefile.orig 1994-03-28 13:05:28.000000000 +0200 ++++ Makefile 2014-05-09 21:13:14.000000000 +0200 +@@ -7,10 +7,11 @@ + + # @(#)Makefile 2.3 (Y.Tonooka) 3/28/94 + +- BINPATH = /usr/local/bin +- MANPATH = /usr/local/man +- JMANDIR = japanese +- CFLAGS = -O ++ PREFIX?= /usr/local ++ BINPATH = ${PREFIX}/bin ++ MANPATH = ${PREFIX}/man ++ JMANDIR = ja ++ CFLAGS?= -O + + SHELL = /bin/sh + CP = cp +@@ -34,10 +35,10 @@ + + $(BINPATH)/kcc: kcc.c + $(MAKE) kcc +- $(INSTALL) -s kcc $(BINPATH) ++ $(BSD_INSTALL_PROGRAM) kcc $(DESTDIR)$(BINPATH) + + $(MANPATH)/$(JMANDIR)/man1/kcc.1: kcc.jman +- $(INSTALL) -m 644 kcc.jman $@ ++ $(BSD_INSTALL_MAN) kcc.jman $(DESTDIR)$(MANPATH)/$(JMANDIR)/man1/kcc.1 + + clean: + rm -f $(CMDS) $(OBJS) mon.out gmon.out make.log |