summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypupdated
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-02-07 09:27:07 +0000
committerdim <dim@FreeBSD.org>2012-02-07 09:27:07 +0000
commit489adb600f55e6d6efe8f0a5a33c070a9c8335a6 (patch)
treef4288bb4a19e87202aaf6ef984ab4952750e882b /usr.sbin/rpc.ypupdated
parente2807c4b0cf1ff9134ebf7ec353acccf55a3ac51 (diff)
downloadFreeBSD-src-489adb600f55e6d6efe8f0a5a33c070a9c8335a6.zip
FreeBSD-src-489adb600f55e6d6efe8f0a5a33c070a9c8335a6.tar.gz
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
Diffstat (limited to 'usr.sbin/rpc.ypupdated')
-rw-r--r--usr.sbin/rpc.ypupdated/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.ypupdated/Makefile b/usr.sbin/rpc.ypupdated/Makefile
index fecb837..ffef7d4 100644
--- a/usr.sbin/rpc.ypupdated/Makefile
+++ b/usr.sbin/rpc.ypupdated/Makefile
@@ -19,7 +19,7 @@ LDADD= -lrpcsvc
CLEANFILES= ypupdate_prot_svc.c ypupdate_prot.h
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
-RPCGEN= rpcgen -I -C
+RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -I -C
# We need to remove the 'static' keyword from _rpcsvcstate so that
# ypupdated_main.c can see it.
OpenPOWER on IntegriCloud