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:
parent
795b21ec94
commit
77c7a21036
@ -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
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user