svn commit: r302255 - in head/lib/libc: rpc yp

Bryan Drewery bdrewery at FreeBSD.org
Tue Jun 28 19:53:18 UTC 2016


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}


More information about the svn-src-head mailing list