--- netkit-combo-0.17/netkit-base/inetd/Makefile.orig 2012-11-05 15:12:46.000000000 +0900 +++ netkit-combo-0.17/netkit-base/inetd/Makefile 2012-11-05 15:19:04.000000000 +0900 @@ -5,6 +5,8 @@ OBJS=inetd.o servtab.o builtins.o sig.o daemon.o setproctitle.o mysleep.o +LIBS+=-ltirpc + inetd: $(OBJS) $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ --- netkit-combo-0.17/netkit-bootparamd/rpc.bootparamd/Makefile.orig 2012-11-05 15:47:19.000000000 +0900 +++ netkit-combo-0.17/netkit-bootparamd/rpc.bootparamd/Makefile 2012-11-05 16:00:56.000000000 +0900 @@ -13,6 +13,8 @@ HEADER=bootparam_prot.h DIST=README main.c rpc.bootparamd.c callbootd.c bootparamd.8 Makefile +LIBS+=-ltirpc + all: bootparamd callbootd bootparamd: bootparam_prot_svc.o bootparam_prot_xdr.o rpc.bootparamd.o main.o --- netkit-combo-0.17/netkit-rusers/rpc.rusersd/Makefile.orig 2012-11-05 16:06:39.000000000 +0900 +++ netkit-combo-0.17/netkit-rusers/rpc.rusersd/Makefile 2012-11-05 16:10:03.000000000 +0900 @@ -18,6 +18,8 @@ # the clean target. RUSERSX=/usr/include/rpcsvc/rusers.x +LIBS+=-ltirpc + rusersd: rusersd.o rusers_proc.o rusers_xdr.o $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ --- netkit-combo-0.17/netkit-rusers/rusers/Makefile.orig 2012-11-05 16:15:25.000000000 +0900 +++ netkit-combo-0.17/netkit-rusers/rusers/Makefile 2012-11-05 16:17:22.000000000 +0900 @@ -16,6 +16,8 @@ # The rusers.h file in /usr/include/rpcsvc (at least on my system) appears # to have been built with an ancient rpcgen. Therefore, make it anew. +LIBS+=-ltirpc + rusers: rusers.o rusers_xdr.o $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ --- netkit-combo-0.17/netkit-rusers/rup/Makefile.orig 2012-11-05 16:22:23.000000000 +0900 +++ netkit-combo-0.17/netkit-rusers/rup/Makefile 2012-11-05 16:23:45.000000000 +0900 @@ -14,6 +14,8 @@ # the clean target. RSTATX=/usr/include/rpcsvc/rstat.x +LIBS+=-ltirpc + rup: rup.o rstat_xdr.o $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ --- netkit-combo/netkit-rwall/rpc.rwalld/Makefile.orig 2012-11-05 16:25:37.000000000 +0900 +++ netkit-combo/netkit-rwall/rpc.rwalld/Makefile 2012-11-05 16:28:50.000000000 +0900 @@ -5,6 +5,8 @@ RPCGEN=rpcgen +LIBS+=-ltirpc + rwalld: rwalld.o $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ --- netkit-combo-0.17/netkit-rwall/rwall/Makefile.orig 2012-11-05 16:30:57.000000000 +0900 +++ netkit-combo-0.17/netkit-rwall/rwall/Makefile 2012-11-05 16:33:00.000000000 +0900 @@ -5,6 +5,8 @@ RPCGEN=rpcgen +LIBS+=-ltirpc + rwall: rwall.o $(CC) $(LDFLAGS) $^ $(LIBS) -o $@