pkgsrc/inputmethod/ja-freewnn-lib/patches/patch-ah
jlam efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00

39 lines
973 B
Text

$NetBSD: patch-ah,v 1.2 2002/08/25 19:22:58 jlam Exp $
--- Wnn/jd/Makefile.in.orig Tue Mar 23 21:11:01 1999
+++ Wnn/jd/Makefile.in
@@ -624,7 +624,7 @@
SUBDIRS = rk rk.vi
-SERVERCDS = jserverrc hinsi.data
+SERVERCDS = jserverrc
HINSILINKS = hinsi.data
@@ -767,6 +767,7 @@
clean::
$(RM) cvt_key_tbl.vt
+.if (${WNN_TARGET} == "SERVER")
install:: $(SERVERCDS)
@if [ -d $(DESTDIR)$(JWNNWNNDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNWNNDIR)); fi
@@ -775,7 +776,9 @@
for i in $(SERVERCDS); do \
(set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i $(DESTDIR)$(JWNNWNNDIR)); \
done
+.endif
+.if (${WNN_TARGET} == "LIBRARY")
install:: $(CLIENTJDS1)
@if [ -d $(DESTDIR)$(JWNNWNNDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNWNNDIR)); fi
@@ -811,6 +814,7 @@
for i in $(LIBJDS2); do \
(set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i $(DESTDIR)$(WNNWNNDIR)); \
done
+.endif
depend::