From owner-svn-src-all@freebsd.org Tue Jun 28 19:53:17 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E31B2B86239; Tue, 28 Jun 2016 19:53:17 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B01112E42; Tue, 28 Jun 2016 19:53:17 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5SJrGi4033444; Tue, 28 Jun 2016 19:53:16 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5SJrGmi033442; Tue, 28 Jun 2016 19:53:16 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201606281953.u5SJrGmi033442@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Tue, 28 Jun 2016 19:53:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r302255 - in head/lib/libc: rpc yp X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2016 19:53:18 -0000 Author: bdrewery Date: Tue Jun 28 19:53:16 2016 New Revision: 302255 URL: https://svnweb.freebsd.org/changeset/base/302255 Log: Use on crypto.x and rpc.x from the source tree. This fixes the build when DESTDIR may be blank or not yet populated. It also fixes reproducibility. Submitted by: brooks Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D6455 Modified: head/lib/libc/rpc/Makefile.inc head/lib/libc/yp/Makefile.inc Modified: head/lib/libc/rpc/Makefile.inc ============================================================================== --- head/lib/libc/rpc/Makefile.inc Tue Jun 28 18:32:15 2016 (r302254) +++ head/lib/libc/rpc/Makefile.inc Tue Jun 28 19:53:16 2016 (r302255) @@ -33,7 +33,7 @@ CFLAGS+= -I${LIBC_SRCTOP}/rpc CLEANFILES+= crypt_clnt.c crypt_xdr.c crypt.h -RPCDIR= ${DESTDIR}/usr/include/rpcsvc +RPCDIR= ${SRCTOP}/include/rpcsvc RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C crypt_clnt.c: ${RPCDIR}/crypt.x crypt.h Modified: head/lib/libc/yp/Makefile.inc ============================================================================== --- head/lib/libc/yp/Makefile.inc Tue Jun 28 18:32:15 2016 (r302254) +++ head/lib/libc/yp/Makefile.inc Tue Jun 28 19:53:16 2016 (r302255) @@ -9,7 +9,7 @@ CLEANFILES+= yp.h yp_xdr.c SYM_MAPS+= ${LIBC_SRCTOP}/yp/Symbol.map -RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x +RPCSRC= ${SRCTOP}/include/rpcsvc/yp.x RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C yp_xdr.c: ${RPCSRC}