summaryrefslogtreecommitdiff
path: root/chinese/autoconvert/files/patch-ab
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2001-01-14 14:45:33 +0000
committerClive Lin <clive@FreeBSD.org>2001-01-14 14:45:33 +0000
commit3d91f94d0a1a70b455a852ebfdcf9514892e145c (patch)
tree6f179a0dab6cfb70f17411b146773d675661e8cf /chinese/autoconvert/files/patch-ab
parentUpdate to gltk 1.1 (diff)
Update to 0.3.8
PR: 24277 Submitted by: MAINTAINER
Diffstat (limited to '')
-rw-r--r--chinese/autoconvert/files/patch-ab33
1 files changed, 18 insertions, 15 deletions
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)