Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2006 10:09:00 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        current@freebsd.org
Subject:   usr.bin/rpcinfo hack
Message-ID:  <Pine.GSO.4.43.0603071005010.6977-100000@sea.ntplx.net>

next in thread | raw e-mail | index | archive | help
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
@@ -2,15 +2,9 @@
 # $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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0603071005010.6977-100000>