aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-02-07 09:27:07 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-02-07 09:27:07 +0000
commit5e0a19bdeee80766c9e20ab1f85487fbeaf64894 (patch)
treef4288bb4a19e87202aaf6ef984ab4952750e882b /libexec
parent65d43cc6e7af34576955aadc09db3cef70e01b47 (diff)
downloadsrc-5e0a19bdeee80766c9e20ab1f85487fbeaf64894.tar.gz
src-5e0a19bdeee80766c9e20ab1f85487fbeaf64894.zip
Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=231118
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ypxfr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ypxfr/Makefile b/libexec/ypxfr/Makefile
index 91a42eff1776..476a296fa7f3 100644
--- a/libexec/ypxfr/Makefile
+++ b/libexec/ypxfr/Makefile
@@ -22,7 +22,7 @@ LDADD= -lrpcsvc
CLEANFILES= ${GENSRCS}
RPCDIR= ${.CURDIR}/../../include/rpcsvc
-RPCGEN= rpcgen -I -C
+RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -I -C
ypxfr_clnt.c: ${RPCDIR}/yp.x
rm -f ${.TARGET}