diff options
author | keith <keith@FreeBSD.org> | 2001-02-10 02:34:45 +0800 |
---|---|---|
committer | keith <keith@FreeBSD.org> | 2001-02-10 02:34:45 +0800 |
commit | 56b0e88d6cf694d4ebcafde1e6809105bb2996b7 (patch) | |
tree | 0e7af471bf93640e1545e39defb776b11d1e082d /chinese | |
parent | 5d9517bf2998f0d22133a8886f8610c67cdcffa7 (diff) | |
download | freebsd-ports-gnome-56b0e88d6cf694d4ebcafde1e6809105bb2996b7.tar.gz freebsd-ports-gnome-56b0e88d6cf694d4ebcafde1e6809105bb2996b7.tar.zst freebsd-ports-gnome-56b0e88d6cf694d4ebcafde1e6809105bb2996b7.zip |
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-aa | 11 | ||||
-rw-r--r-- | chinese/chinput2/files/patch-ab | 11 |
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) |