From owner-freebsd-current@FreeBSD.ORG Tue Mar 7 15:09:12 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15E4616A420 for ; Tue, 7 Mar 2006 15:09:12 +0000 (GMT) (envelope-from eischen@vigrid.com) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0CC343D8F for ; Tue, 7 Mar 2006 15:09:01 +0000 (GMT) (envelope-from eischen@vigrid.com) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.5/8.13.5/NETPLEX) with ESMTP id k27F90aM018240 for ; Tue, 7 Mar 2006 10:09:00 -0500 (EST) Date: Tue, 7 Mar 2006 10:09:00 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: Subject: usr.bin/rpcinfo hack X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deischen@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 15:09:12 -0000 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 -- DE