From a88a58d887c3a07b1e4c9ad3a4eb818bc4534247 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Tue, 28 Jun 2016 19:53:16 +0000 Subject: 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 --- lib/libc/rpc/Makefile.inc | 2 +- lib/libc/yp/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/rpc/Makefile.inc b/lib/libc/rpc/Makefile.inc index 2f05009..c3e5502 100644 --- a/lib/libc/rpc/Makefile.inc +++ b/lib/libc/rpc/Makefile.inc @@ -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 diff --git a/lib/libc/yp/Makefile.inc b/lib/libc/yp/Makefile.inc index 2925d9c..166c9d7 100644 --- a/lib/libc/yp/Makefile.inc +++ b/lib/libc/yp/Makefile.inc @@ -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} -- cgit v1.1