usr.bin/rpcinfo hack

From: Daniel Eischen <eischen_at_vigrid.com>
Date: Tue, 7 Mar 2006 10:09:00 -0500 (EST)
Does anyone know why usr.bin/rpcinfo/ needs to include/build with libc
sources (libc/rpc/rpc_generic.c)?  The functions that rpcinfo uses are
exported from libc and are defined in /usr/include/.

-- 
DE

Index: Makefile
===================================================================
RCS file: /opt/FreeBSD/cvs/src/usr.bin/rpcinfo/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	27 Mar 2001 10:52:08 -0000	1.6
+++ Makefile	7 Mar 2006 14:43:10 -0000
_at__at_ -2,15 +2,9 _at__at_
 # $FreeBSD: src/usr.bin/rpcinfo/Makefile,v 1.6 2001/03/27 10:52:08 ru Exp $

 PROG=	rpcinfo
-SRCS=	rpcinfo.c rpc_generic.c
+SRCS=	rpcinfo.c
 MAN=	rpcinfo.8

-LIBCDIR=	${.CURDIR}/../../lib/libc
-LIBCRPCDIR=	${LIBCDIR}/rpc
-LIBCINCLUDE=	${LIBCDIR}/include
-
-CFLAGS+=	-I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DINET6
-
-.PATH:	${LIBCRPCDIR}
+CFLAGS+=	-DPORTMAP -DINET6

 .include <bsd.prog.mk>


-- 
DE
Received on Tue Mar 07 2006 - 14:09:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:53 UTC