diff --git a/japanese/recjis/files/patch-Makefile b/japanese/recjis/files/patch-Makefile new file mode 100644 index 000000000000..9c7e850da8a0 --- /dev/null +++ b/japanese/recjis/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig Sun Oct 19 03:06:42 2003 ++++ Makefile Sun Oct 19 03:06:56 2003 +@@ -19,7 +19,9 @@ + + BINDIR=/usr/local/bin + LIBDIR=/usr/local/lib/recjis +-CFLAGS=-O -DLIBDIR=\"$(LIBDIR)\" ++CC?=cc ++CFLAGS?= -O -pipe ++CFLAGS+= -DLIBDIR=\"$(LIBDIR)\" + + prog: rjis rujis rsjis dejis + diff --git a/japanese/typist/files/patch-aa b/japanese/typist/files/patch-aa index 8ce2a803247c..0a91c4c237c2 100644 --- a/japanese/typist/files/patch-aa +++ b/japanese/typist/files/patch-aa @@ -1,32 +1,37 @@ -*** Makefile.orig Wed May 21 13:41:33 1997 ---- Makefile Mon Jun 23 19:45:04 1997 -*************** -*** 54,66 **** - ##### INSTALL PARAMETERS ##### - LIBS=-ltermcap - DEBUG=-O -s -! LESSONDIR=/usr/local/lib/typist -! TARGETDIR=/usr/local/bin -! MANPATH=/usr/local/man - # NeXT ONLY!! To make FAT binary. - MAB= - -! CFLAGS=$(DEBUG) $(MAB) -DTERMIO - # -DKEYTYPE=\"e\" - # -DLESSONDIR=\"$(LESSONDIR)\" - # -DVANISHCHAR ---- 54,67 ---- - ##### INSTALL PARAMETERS ##### - LIBS=-ltermcap - DEBUG=-O -s -! PREFIX?=/usr/local -! LESSONDIR=${PREFIX}/lib/typist -! TARGETDIR=${PREFIX}/bin -! MANPATH=${PREFIX}/man - # NeXT ONLY!! To make FAT binary. - MAB= - -! CFLAGS=$(DEBUG) $(MAB) -DLESSONDIR=\"$(LESSONDIR)\" -DKEYTYPE=\"j\" - # -DKEYTYPE=\"e\" - # -DLESSONDIR=\"$(LESSONDIR)\" - # -DVANISHCHAR +--- Makefile.orig Tue May 20 21:41:33 1997 ++++ Makefile Sun Oct 19 03:09:37 2003 +@@ -49,18 +49,19 @@ + + # following options for SGI IRIX + LIBS=-ltermcap +-DEBUG=-O -s ++#DEBUG=-O -s + + ##### INSTALL PARAMETERS ##### + LIBS=-ltermcap +-DEBUG=-O -s +-LESSONDIR=/usr/local/lib/typist +-TARGETDIR=/usr/local/bin +-MANPATH=/usr/local/man ++#DEBUG=-O -s ++PREFIX?=/usr/local ++LESSONDIR=${PREFIX}/lib/typist ++TARGETDIR=${PREFIX}/bin ++MANPATH=${PREFIX}/man + # NeXT ONLY!! To make FAT binary. + MAB= + +-CFLAGS=$(DEBUG) $(MAB) -DTERMIO ++CFLAGS+=$(DEBUG) $(MAB) -DLESSONDIR=\"$(LESSONDIR)\" -DKEYTYPE=\"j\" + # -DKEYTYPE=\"e\" + # -DLESSONDIR=\"$(LESSONDIR)\" + # -DVANISHCHAR +@@ -73,7 +74,7 @@ + ## -DVANISHCHAR if the character after an error vanishes. + + LDFLAGS=$(DEBUG) $(MAB) +-CC=cc ++CC?=cc + + #----------------------------------------------------------------------- + diff --git a/korean/nhpf/files/patch-Makefile b/korean/nhpf/files/patch-Makefile new file mode 100644 index 000000000000..da4a39d8dcba --- /dev/null +++ b/korean/nhpf/files/patch-Makefile @@ -0,0 +1,28 @@ +--- Makefile.orig Sun Oct 19 03:12:14 2003 ++++ Makefile Sun Oct 19 03:12:40 2003 +@@ -1,13 +1,13 @@ + # Makefile for Netscape Hangul PS file filter + # Lee yongjae, setup@shiva.snu.ac.kr, 1997.1.22. + +-CC=cc +-CFLAG=-O ++CC?=cc ++CFLAGS?=-O -pipe + + ALL = nhpf wrapstr + + .c.o: +- $(CC) $(CFLAG) -c $< ++ $(CC) $(CFLAGS) -c $< + + all: $(ALL) + clean: +@@ -18,7 +18,7 @@ + rm -f wrapstr + + wrapstr: wrapstr.c +- $(CC) $(CFLAG) -o wrapstr wrapstr.c ++ $(CC) $(CFLAGS) -o wrapstr wrapstr.c + + nhpf.o: ncode.h fontdef.str n3f-5.str n3f-5b.str +