summaryrefslogtreecommitdiffstats
path: root/converters/aish/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'converters/aish/files/patch-aa')
-rw-r--r--converters/aish/files/patch-aa32
1 files changed, 18 insertions, 14 deletions
diff --git a/converters/aish/files/patch-aa b/converters/aish/files/patch-aa
index 77696a6..562208f 100644
--- a/converters/aish/files/patch-aa
+++ b/converters/aish/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Mon Sep 18 01:47:03 1995
-+++ Makefile Mon Aug 3 10:42:13 1998
-@@ -1,7 +1,7 @@
+--- Makefile.orig Wed Nov 18 20:13:30 1998
++++ Makefile Fri Nov 12 02:17:34 1999
+@@ -1,12 +1,12 @@
# aish/koish 1993,94,95 by H.Ogasawara (COR.)
# install directory
@@ -8,20 +8,24 @@
+DSTDIR = ${PREFIX}/bin
#### *** UNIX
- CC = cc
-@@ -134,10 +134,11 @@
- rm -f *.o $(SYSCHK) $(PROG) $(MPROG) core *~ autodecode
-
- install: $(SYSCHK) $(PROG) $(MPROG) autodecode
+-CC = gcc
++CC ?= gcc
+ LK = $(CC)
+-CFLAGS = -O -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1
++CFLAGS += -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1
+ #CFLAGS = -O -DUNIX=1 -DUUENCODE=1
+ SYSOBJ = ai_unix.o
+ SYSCHK = syschk.h
+@@ -127,9 +127,9 @@
+ clean:
+ rm -f *.o $(SYSCHK) $(PROG) $(MPROG) core *~
+ install: $(PROG) $(MPROG)
- install -c -s $(PROG) $(DSTDIR)
- install -c -s $(MPROG) $(DSTDIR)
- install -c -m 0755 ishcat $(DSTDIR)
-- -install -c -m 0755 autodecode $(DSTDIR)
+ ${BSD_INSTALL_PROGRAM} $(PROG) $(DSTDIR)
+ ${BSD_INSTALL_PROGRAM} $(MPROG) $(DSTDIR)
+ ${BSD_INSTALL_SCRIPT} ishcat $(DSTDIR)
-+ ${BSD_INSTALL_SCRIPT} autodecode $(DSTDIR)
-+ ${BSD_INSTALL_MAN} aish.1 autodecode.1 ${PREFIX}/man/ja/man1
-
- installc: $(SYSCHK) $(PROG) $(MPROG) autodecode
- cp $(PROG) $(MPROG) ishcat autodecode $(DSTDIR)
+ oldc:
+ sed '/^##--OLDC-b/,/^##--OLDC-e/s/^#//' Makefile | \
+ sed '/^##--NEWC-b/,/^##--NEWC-e/s/.*/#&/' > aisholdc.mk
OpenPOWER on IntegriCloud