diff options
author | CHOI Junho <cjh@FreeBSD.org> | 2000-10-29 12:26:53 +0000 |
---|---|---|
committer | CHOI Junho <cjh@FreeBSD.org> | 2000-10-29 12:26:53 +0000 |
commit | 2d4b27837d6f37d903aa4c23593b031ce10cd996 (patch) | |
tree | 5eb563fe4cb7806483a0a3cbc8b71a118cc7240d /korean/uniksc/files | |
parent | 1da4d26bf87e1cdadbd8c4850b4779677b5da226 (diff) | |
download | freebsd-ports-2d4b27837d6f37d903aa4c23593b031ce10cd996.zip |
Converts data between Korean KSC-5601 and Unicode 3.0 UTF-16
Activate ko-uniksc.
Diffstat (limited to 'korean/uniksc/files')
-rw-r--r-- | korean/uniksc/files/patch-makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/korean/uniksc/files/patch-makefile b/korean/uniksc/files/patch-makefile new file mode 100644 index 000000000000..c7fe07f427fc --- /dev/null +++ b/korean/uniksc/files/patch-makefile @@ -0,0 +1,46 @@ +--- Makefile.orig Mon Oct 9 07:38:51 2000 ++++ Makefile Sun Oct 15 01:21:27 2000 +@@ -1,8 +1,8 @@ +-CC = gcc ++#CC = gcc + +-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -I. ++FLAGS = ${CFLAGS} -I. + +-PREFIX=/usr/local ++#PREFIX=/usr/local + + SRCS = ksc5601_utf16.c \ + ksc5601_utf16_table.c \ +@@ -15,24 +15,24 @@ + $(CC) -c $(FLAGS) -o $*.o $< + + all: $(OBJS) +- $(CC) -shared -Wl,-soname -Wl,libuniksc.so.0 -o libuniksc.so.0.9 $(OBJS) +- ln -sf libuniksc.so.0.9 libuniksc.so.0 +- $(CC) $(CFLAGS) -o uniksc uniksc.c libuniksc.so.0 ++ $(CC) -shared -Wl,-soname -Wl,libuniksc.so.0 -o libuniksc.so.0 $(OBJS) ++ #ln -sf libuniksc.so.0.9 libuniksc.so.0 ++ $(CC) $(FLAGS) -o uniksc uniksc.c libuniksc.so.0 + + clean: +- rm -f $(OBJS) uniksc libuniksc.so.0 libuniksc.so.0.9 *~ ++ rm -f $(OBJS) uniksc libuniksc.so.0 *~ + + install: + if ( test ! -d $(PREFIX)/bin ) ; then mkdir $(PREFIX)/bin ; fi + if ( test ! -d $(PREFIX)/lib ) ; then mkdir $(PREFIX)/lib ; fi + if ( test ! -d $(PREFIX)/include ) ; then mkdir $(PREFIX)/include ; fi + cp -f uniksc $(PREFIX)/bin/uniksc +- cp -f libuniksc.so.0.9 $(PREFIX)/lib/libuniksc.so.0.9 +- ln -sf libuniksc.so.0.9 $(PREFIX)/lib/libuniksc.so.0 ++ cp -f libuniksc.so.0 $(PREFIX)/lib/libuniksc.so.0 ++ #ln -sf libuniksc.so.0.9 $(PREFIX)/lib/libuniksc.so.0 + cp -f uniksc.h $(PREFIX)/include/uniksc.h + + uninstall: + rm -f $(PREFIX)/bin/uniksc + rm -f $(PREFIX)/lib/libuniksc.so.0 +- rm -f $(PREFIX)/lib/libuniksc.so.0.9 ++# rm -f $(PREFIX)/lib/libuniksc.so.0.9 + rm -f $(PREFIX)/include/uniksc.h |