summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-06-28 19:53:16 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-06-28 19:53:16 +0000
commita88a58d887c3a07b1e4c9ad3a4eb818bc4534247 (patch)
treeaa7121cd0bdef4a0155bfe93f699d43c9eb4134d /lib/libc
parentc6d7fbc03e6cc0b105c01af3ee13b41ebd71cc0d (diff)
downloadFreeBSD-src-a88a58d887c3a07b1e4c9ad3a4eb818bc4534247.zip
FreeBSD-src-a88a58d887c3a07b1e4c9ad3a4eb818bc4534247.tar.gz
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
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/Makefile.inc2
-rw-r--r--lib/libc/yp/Makefile.inc2
2 files changed, 2 insertions, 2 deletions
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}
OpenPOWER on IntegriCloud