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
This commit is contained in:
Bryan Drewery 2016-06-28 19:53:16 +00:00
parent 795b21ec94
commit 77c7a21036
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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}