head	1.7;
access;
symbols
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.5
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.4
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.1.1.1
	v0_3_2:1.1.1.1
	YINJIEH:1.1.1;
locks; strict;
comment	@# @;


1.7
date	2006.12.30.03.53.35;	author rafan;	state dead;
branches;
next	1.6;

1.6
date	2004.03.22.08.43.56;	author arved;	state Exp;
branches;
next	1.5;

1.5
date	2001.01.14.14.45.33;	author clive;	state Exp;
branches;
next	1.4;

1.4
date	2000.04.02.04.49.46;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	2000.03.19.03.14.37;	author foxfair;	state Exp;
branches;
next	1.2;

1.2
date	2000.01.14.18.19.15;	author imura;	state Exp;
branches;
next	1.1;

1.1
date	99.10.27.10.53.09;	author nakai;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.10.27.10.53.09;	author nakai;	state Exp;
branches;
next	;


desc
@@


1.7
log
@- Update to 0.3.16
  This builds on newer gcc.
- Respect CC, CFLAGS
- Comply new style patch filename
- xchat plugin is disabled for now

PR:		ports/107264
Submitted by:	Ying-Chieh Chen (maintainer)
@
text
@--- hzconvert/Makefile.orig	Mon Jan  8 11:03:21 2001
+++ hzconvert/Makefile	Mon Mar 22 09:39:15 2004
@@@@ -1,18 +1,18 @@@@
 CC=gcc -I../include
-CFLAGS=-O2 -Wall -g
+CFLAGS+=-fPIC -Wall -g
 SHARED_LIB=libhz.so
 SHARED_LIB_MAJOR=$(SHARED_LIB).0
 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
+
 %.o: %.c
 	$(CC) -fPIC $(CFLAGS) -c $<
 
-all: libhzconvert
-
 libhzconvert: $(OBJS)
 	ar rs  ../lib/libhz.a $(OBJS)
-	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)
@


1.6
log
@Improve amd64 fix, Only build shared library with -fPIC
@
text
@@


1.5
log
@Update to 0.3.8

PR: 24277
Submitted by: MAINTAINER
@
text
@d1 8
a8 3
--- hzconvert/Makefile.orig	Mon Jan  8 18:05:51 2001
+++ hzconvert/Makefile	Tue Jan  9 02:02:33 2001
@@@@ -5,14 +5,14 @@@@
@


1.4
log
@Respect CC and CFLAGS
@
text
@d1 5
a5 9
--- 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 $<
d7 8
a14 2
-all:libhzconvert
 libhzconvert:$(OBJS)
d16 5
a20 4
-	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
@


1.3
log
@PR:		17369
Submitted by:	Yin-Jieh Chen <yinjieh@@Crazyman.Dorm13.NCTU.edu.tw>
Update to 0.3.5, patches submitted by port's maintainer.
@
text
@d2 2
a3 2
+++ hzconvert/Makefile	Sun Mar 12 18:39:46 2000
@@@@ -1,12 +1,12 @@@@
d5 1
a5 1
 CFLAGS=-O2
@


1.2
log
@Update version to 0.3.4.

PR:		15940
Submitted by:	Maintainer
@
text
@d1 7
a7 7
--- hzconvert/Makefile.orig	Wed Jan  5 14:33:47 2000
+++ hzconvert/Makefile	Wed Jan  5 14:34:35 2000
@@@@ -2,10 +2,10 @@@@
 CFLAGS+=-O2
 #OBJS=b2g.o b2u.o g2u.o hztogb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o
 OBJS=b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o
+all:libhzconvert.a
d11 5
a15 3
-all:libhzconvert.a
 libhzconvert.a:$(OBJS)
 	ar rs  libhzconvert.a $(OBJS)
d17 1
@


1.1
log
@Initial revision
@
text
@d1 6
a6 8
--- hzconvert/Makefile.orig	Mon Oct 25 19:02:21 1999
+++ hzconvert/Makefile	Tue Oct 26 08:29:52 1999
@@@@ -1,10 +1,10 @@@@
 CC=gcc
-CFLAGS=-O2
+CFLAGS+=-O2
 OBJS=b2g.o b2u.o g2u.o hztogb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o
-%.o:%c
d8 1
a8 1
+%.o:%.c
@


1.1.1.1
log
@Initial Import.
Chinese character code converter.
(Such tool is simple, but important for multibyte- people. :)

PR:		ports/14528
Submitted by:	Yin-Jieh Chen yinjieh@@Crazyman.Dorm13.NCTU.edu.tw
@
text
@@
