From 489adb600f55e6d6efe8f0a5a33c070a9c8335a6 Mon Sep 17 00:00:00 2001 From: dim Date: Tue, 7 Feb 2012 09:27:07 +0000 Subject: 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 --- lib/libypclnt/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libypclnt') diff --git a/lib/libypclnt/Makefile b/lib/libypclnt/Makefile index 5a3ecb4..2e302f1 100644 --- a/lib/libypclnt/Makefile +++ b/lib/libypclnt/Makefile @@ -22,7 +22,7 @@ GENSRCS=yp.h \ yppasswd_private_clnt.c \ yppasswd_private_xdr.c -RPCGEN= rpcgen -C +RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C RPCSRC= ${.CURDIR}/../../include/rpcsvc/yp.x RPCSRC_PW= ${.CURDIR}/../../include/rpcsvc/yppasswd.x RPCSRC_PRIV= ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x -- cgit v1.1