summaryrefslogtreecommitdiffstats
path: root/sys/modules
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 /sys/modules
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 'sys/modules')
-rw-r--r--sys/modules/kgssapi/Makefile6
-rw-r--r--sys/modules/kgssapi_krb5/Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/modules/kgssapi/Makefile b/sys/modules/kgssapi/Makefile
index 223ef24..6917633 100644
--- a/sys/modules/kgssapi/Makefile
+++ b/sys/modules/kgssapi/Makefile
@@ -44,12 +44,12 @@ CLEANFILES= gssd.h gssd_xdr.c gssd_clnt.c
S= ${.CURDIR}/../..
gssd.h: $S/kgssapi/gssd.x
- rpcgen -hM $S/kgssapi/gssd.x | grep -v pthread.h > gssd.h
+ RPCGEN_CPP=${CPP:Q} rpcgen -hM $S/kgssapi/gssd.x | grep -v pthread.h > gssd.h
gssd_xdr.c: $S/kgssapi/gssd.x
- rpcgen -c $S/kgssapi/gssd.x -o gssd_xdr.c
+ RPCGEN_CPP=${CPP:Q} rpcgen -c $S/kgssapi/gssd.x -o gssd_xdr.c
gssd_clnt.c: $S/kgssapi/gssd.x
- rpcgen -lM $S/kgssapi/gssd.x | grep -v string.h > gssd_clnt.c
+ RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/kgssapi/gssd.x | grep -v string.h > gssd_clnt.c
.include <bsd.kmod.mk>
diff --git a/sys/modules/kgssapi_krb5/Makefile b/sys/modules/kgssapi_krb5/Makefile
index 9dbb946..337402f 100644
--- a/sys/modules/kgssapi_krb5/Makefile
+++ b/sys/modules/kgssapi_krb5/Makefile
@@ -18,6 +18,6 @@ CLEANFILES= gssd.h
S= ${.CURDIR}/../..
gssd.h: $S/kgssapi/gssd.x
- rpcgen -hM $S/kgssapi/gssd.x | grep -v pthread.h > gssd.h
+ RPCGEN_CPP=${CPP:Q} rpcgen -hM $S/kgssapi/gssd.x | grep -v pthread.h > gssd.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud