diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-01-14 14:45:33 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-01-14 14:45:33 +0000 |
commit | 3d91f94d0a1a70b455a852ebfdcf9514892e145c (patch) | |
tree | 6f179a0dab6cfb70f17411b146773d675661e8cf /chinese/autoconvert/files | |
parent | Update to gltk 1.1 (diff) |
Update to 0.3.8
PR: 24277
Submitted by: MAINTAINER
Diffstat (limited to 'chinese/autoconvert/files')
-rw-r--r-- | chinese/autoconvert/files/patch-aa | 20 | ||||
-rw-r--r-- | chinese/autoconvert/files/patch-ab | 33 |
2 files changed, 32 insertions, 21 deletions
diff --git a/chinese/autoconvert/files/patch-aa b/chinese/autoconvert/files/patch-aa index 04e28ead8118..e79aa195dff6 100644 --- a/chinese/autoconvert/files/patch-aa +++ b/chinese/autoconvert/files/patch-aa @@ -1,10 +1,18 @@ ---- Makefile.orig Wed Jan 5 13:50:05 2000 -+++ Makefile Sun Apr 2 11:37:04 2000 -@@ -1,6 +1,6 @@ +--- Makefile.orig Mon Jan 8 18:05:51 2001 ++++ Makefile Tue Jan 9 03:03:10 2001 +@@ -1,11 +1,12 @@ CC=gcc --CFLAG=-O2 -g -Iinclude -+CFLAG+=-Iinclude +-CFLAG=-O2 -g -Wall -Iinclude +-LIBS= -Llib -lhz ++CFLAG+=-Iinclude -I/usr/local/include ++LIBS+=-Llib -lhz -L/usr/local/lib -lgnugetopt + .PHONY: all hzlib clean install-home install - all: autob5 autogb hzlib +-all: autob5 autogb hzlib xchat-plugins ++all: autob5 autogb hzlib ++#xchat-plugins + + autob5: autogb + rm -f autob5;ln -s autogb autob5 diff --git a/chinese/autoconvert/files/patch-ab b/chinese/autoconvert/files/patch-ab index 166dcee1b79b..4a2b37fe86a3 100644 --- a/chinese/autoconvert/files/patch-ab +++ b/chinese/autoconvert/files/patch-ab @@ -1,17 +1,20 @@ ---- hzconvert/Makefile.orig Wed Jan 5 13:12:31 2000 -+++ hzconvert/Makefile Sun Apr 2 11:37:24 2000 -@@ -1,12 +1,11 @@ - CC=gcc -I../include --CFLAGS=-O2 - OBJS=b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o -+all:libhzconvert - %.o:%c - $(CC) $(CFLAGS) -c $< +--- hzconvert/Makefile.orig Mon Jan 8 18:05:51 2001 ++++ hzconvert/Makefile Tue Jan 9 02:02:33 2001 +@@ -5,14 +5,14 @@ + SHARED_LIB_MINOR=$(SHARED_LIB_MAJOR).0 + OBJS=b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o judge3.o gbpercent.o b5percent.o search.o --all:libhzconvert - libhzconvert:$(OBJS) ++all: libhzconvert ++ + %.o: %.c + $(CC) -fPIC $(CFLAGS) -c $< + +-all: libhzconvert +- + libhzconvert: $(OBJS) ar rs ../lib/libhz.a $(OBJS) -- gcc -shared -o ../lib/libhz.so $(OBJS) -ldl -+ gcc -shared -o ../lib/libhz.so $(OBJS) - clean: - rm -f *.o *~ ../lib/libhz.a ../lib/libhz.so +- gcc -fPIC -shared -Wl,-soname,$(SHARED_LIB_MAJOR) -o ../lib/$(SHARED_LIB_MINOR) $(OBJS) -ldl ++ gcc -fPIC -shared -Wl,-soname,$(SHARED_LIB_MAJOR) -o ../lib/$(SHARED_LIB_MINOR) $(OBJS) + rm -f ../lib/$(SHARED_LIB_MAJOR) + rm -f ../lib/$(SHARED_LIB) + cd ../lib;ln -s $(SHARED_LIB_MINOR) $(SHARED_LIB_MAJOR) |