summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2001-02-09 18:34:45 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2001-02-09 18:34:45 +0000
commitd638f7d2f004ca455349ab0ce98b46fafcca1e6c (patch)
tree03e5551f07439cb480a22d88300819f9e930b227 /chinese
parentUpdate to 1.5.1. (diff)
Add -lz flag, needed when linking against mysqlclient.
PR: ports/24917 Submitted by: Peng HaiJie <phj@cn.freebsd.org> (MAINTAINER)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/chinput2/files/patch-aa11
-rw-r--r--chinese/chinput2/files/patch-ab11
2 files changed, 22 insertions, 0 deletions
diff --git a/chinese/chinput2/files/patch-aa b/chinese/chinput2/files/patch-aa
new file mode 100644
index 000000000000..c74bddbf2ac2
--- /dev/null
+++ b/chinese/chinput2/files/patch-aa
@@ -0,0 +1,11 @@
+--- util/pydb/Makefile.orig Sat Feb 10 01:50:24 2001
++++ util/pydb/Makefile Sat Feb 10 01:50:31 2001
+@@ -8,7 +8,7 @@
+ BINDIR=/usr/local/bin
+ CONFPATH=/usr/local/etc/chinput2.conf
+ CFLAGS=-O -Wall -DDEFAULT_CONF_PATH=\"$(CONFPATH)\" -I. -I/usr/include -I/usr/local/include
+-LDFLAGS=-static -L/usr/lib -L/usr/local/lib -L/usr/local/lib/mysql -lmysqlclient -lmd -lm
++LDFLAGS=-static -L/usr/lib -L/usr/local/lib -L/usr/local/lib/mysql -lmysqlclient -lmd -lm -lz
+
+ all: $(PROGRAM)
+
diff --git a/chinese/chinput2/files/patch-ab b/chinese/chinput2/files/patch-ab
new file mode 100644
index 000000000000..367c16f59e58
--- /dev/null
+++ b/chinese/chinput2/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/Imakefile.orig Sat Feb 10 01:52:56 2001
++++ src/Imakefile Sat Feb 10 01:53:06 2001
+@@ -10,7 +10,7 @@
+ XIMINC = -I${IMDKIT}/IMCore -I${IMDKIT}/Xi18n
+ INCLUDES= ${XIMINC} -I. -I/usr/local/include -I../util/pydb
+ LOCAL_LDFLAGS= -static -L../util/IMdkit/IMdkit -L/usr/local/lib -L/usr/local/lib/mysql
+-LOCAL_LIBRARIES = -lXimd $(XLIB) -lmysqlclient -lmd -lm
++LOCAL_LIBRARIES = -lXimd $(XLIB) -lmysqlclient -lmd -lm -lz
+ CCOPTIONS=-Wall -DDEFAULT_CONF_PATH=\"$(CONFDIR)/$(CONFFILE)\"
+
+ all:: $(PROGRAM)