summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2019-06-21 14:56:39 +0000
committerkamil <kamil@NetBSD.org>2019-06-21 14:56:39 +0000
commit947ed2835e45762803e8a69cc711d09ba2ae686a (patch)
tree1e528ae6c58899c63695f2ab33892066da26865d /tools
parent2935f9fc046f26024deea2bb9b28838aa3b1d478 (diff)
Instruct tools/rpcgen about new path for rpc headers
Fixes build on Gentoo.
Diffstat (limited to 'tools')
-rw-r--r--tools/rpcgen/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/rpcgen/Makefile b/tools/rpcgen/Makefile
index 93b2e44a776..111babf9e94 100644
--- a/tools/rpcgen/Makefile
+++ b/tools/rpcgen/Makefile
@@ -1,6 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2002/12/08 20:20:05 thorpej Exp $
+# $NetBSD: Makefile,v 1.5 2019/06/21 14:56:39 kamil Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}rpcgen
HOST_SRCDIR= usr.bin/rpcgen
+RPCGEN_INC= ${.CURDIR}/../../common/include
+
+HOST_CPPFLAGS+= -I${RPCGEN_INC}
+
.include "${.CURDIR}/../Makefile.host"