pkgsrc/inputmethod/gcin/patches/patch-ac

14 lines
463 B
Text

$NetBSD: patch-ac,v 1.2 2009/11/26 16:48:26 joerg Exp $
--- im-srv/Makefile.orig 2006-01-14 23:40:15.000000000 +0800
+++ im-srv/Makefile
@@ -5,6 +5,9 @@ WALL=-Wall
CFLAGS= $(WALL) $(OPTFLAGS) -I.. -I../im-client -I../IMdkit/include $(GTKINC) -DDEBUG="0$(GCIN_DEBUG)"
OBJS = im-srv.o im-addr.o im-dispatch.o ../im-client/gcin-crypt.o
+.c.o:
+ $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CFLAGS) -o $@ $<
+
im-srv.a: $(OBJS)
ar cr $@ $(OBJS)
ranlib $@