summaryrefslogtreecommitdiff
path: root/japanese/ack/patches
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ack/patches')
-rw-r--r--japanese/ack/patches/patch-aa24
1 files changed, 7 insertions, 17 deletions
diff --git a/japanese/ack/patches/patch-aa b/japanese/ack/patches/patch-aa
index 5b842618144..af09e32d2aa 100644
--- a/japanese/ack/patches/patch-aa
+++ b/japanese/ack/patches/patch-aa
@@ -1,33 +1,23 @@
---- Makefile.orig Tue Jul 26 18:29:53 1994
-+++ Makefile Wed Jul 29 18:49:18 1998
+$NetBSD: patch-aa,v 1.2 1999/05/10 04:38:43 sakamoto Exp $
+
+--- Makefile.orig Tue Jul 26 09:29:53 1994
++++ Makefile Fri Jan 1 21:08:42 1999
@@ -1,14 +1,15 @@
#### ack 1993,94 H.Ogasawara (COR.)
####
#### -- install directory
-BINARY = /usr/local/bin
-MANUAL = /usr/local/man/man1
-+PREFIX?= /usr/local
+BINARY = ${PREFIX}/bin
-+MANUAL = ${PREFIX}/man/ja/man1
++MANUAL = ${PREFIX}/man/man1
####
#### -- UNIX
CC = cc
-CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1
--#CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
+#CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1
-+CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
+ #CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
++CFLAGS = -O -DDEFCODE=0 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
####
#### -- Human68k
#CC = gcc
-@@ -34,8 +35,8 @@
- $(CC) $(LDFLAGS) $(OBJ) -o $@
-
- install: $(PROG)
-- install -s -c $(PROG) $(BINARY)
-- install -c ack.1 $(MANUAL)
-+ ${BSD_INSTALL_PROGRAM} $(PROG) $(BINARY)
-+ ${BSD_INSTALL_MAN} ack.1 $(MANUAL)
-
- codetosjis.o: codetosjis.c kanjicode.h
- codetoeuc.o: codetoeuc.c kanjicode.h