diff options
author | kris <kris@FreeBSD.org> | 2003-10-19 16:28:57 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-10-19 16:28:57 +0800 |
commit | 7c385e1b796a533c7f66235d6a658324e25a36c8 (patch) | |
tree | 4c29405765e6bb2573996537883e82fbae3888ef /chinese/jis2gb | |
parent | 97ded1dd1251411a5c7fdaf5f4d7a14f903beb00 (diff) | |
download | freebsd-ports-gnome-7c385e1b796a533c7f66235d6a658324e25a36c8.tar.gz freebsd-ports-gnome-7c385e1b796a533c7f66235d6a658324e25a36c8.tar.zst freebsd-ports-gnome-7c385e1b796a533c7f66235d6a658324e25a36c8.zip |
Respect CC and CFLAGS
Diffstat (limited to 'chinese/jis2gb')
-rw-r--r-- | chinese/jis2gb/files/patch-aa | 57 |
1 files changed, 45 insertions, 12 deletions
diff --git a/chinese/jis2gb/files/patch-aa b/chinese/jis2gb/files/patch-aa index d2a7c88a16c6..32aed525f20a 100644 --- a/chinese/jis2gb/files/patch-aa +++ b/chinese/jis2gb/files/patch-aa @@ -1,12 +1,45 @@ -*** Makefile Thu Oct 5 17:21:32 1995 ---- Makefile.new Thu Nov 8 17:38:38 2001 -*************** -*** 26,31 **** ---- 26,32 ---- - install: jis2gb jis2gb.1 - cp jis2gb /usr/local/bin/jis2gb - cp jis2gb.1 /usr/local/man/man1/jis2gb.1 -+ cp jis2gb.el /usr/local/share/emacs/site-lisp/jis2gb.el - # nroff -man jis2gb.1 > /usr/local/catman/C/u_man/cat1/jis2gb.1 - - clean: +--- Makefile.orig Thu Oct 5 01:21:32 1995 ++++ Makefile Sun Oct 19 01:25:55 2003 +@@ -1,6 +1,8 @@ + SHELL = /bin/sh + +-CFLAGS = -O -DUNDEFCHAR=0xa1f5 ++CC ?= cc ++CFLAGS ?= -O -pipe ++CFLAGS += -DUNDEFCHAR=0xa1f5 + + TABLEC = JX0208GB2312.c JX0208GB8565.c JX0212GB2312.c JX0212GB8565.c \ + MSSJISGB2312.c MSSJISJX0208.c MSSJISJX0212.c +@@ -13,19 +15,20 @@ + ./t2c $< $@ + + .c.o: +- cc $(CFLAGS) -c $< ++ $(CC) $(CFLAGS) -c $< + + .t.o: + ./t2c $< $*.c +- cc $(CFLAGS) -c $*.c ++ $(CC) $(CFLAGS) -c $*.c + + jis2gb: $(TABLEO) jis2gb.o +- cc jis2gb.o $(TABLEO) -o jis2gb ++ $(CC) jis2gb.o $(TABLEO) -o jis2gb + strip jis2gb + + install: jis2gb jis2gb.1 + cp jis2gb /usr/local/bin/jis2gb + cp jis2gb.1 /usr/local/man/man1/jis2gb.1 ++ cp jis2gb.el /usr/local/share/emacs/site-lisp/jis2gb.el + # nroff -man jis2gb.1 > /usr/local/catman/C/u_man/cat1/jis2gb.1 + + clean: +@@ -36,7 +39,7 @@ + -egrep '0x([2-9]|a[1-b]|f[0-9]|..[2-9])' JX0208GB8565.c JX0212GB8565.c + + t2c: t2c.c +- cc $(CFLAGS) t2c.c -o t2c ++ $(CC) $(CFLAGS) t2c.c -o t2c + strip t2c + + $(TABLEC): t2c |