diff options
author | jmc <jmc> | 2003-07-23 20:13:47 +0000 |
---|---|---|
committer | jmc <jmc> | 2003-07-23 20:13:47 +0000 |
commit | 638f0986200811d21d44b21b4f35751020823d14 (patch) | |
tree | 685fb6250d049baedbb992600b9af8dbbbaaed7e | |
parent | c9b6761378f593bae20a0976e2f3f95018fef1b0 (diff) | |
download | pkgsrc-638f0986200811d21d44b21b4f35751020823d14.tar.gz |
If CPP is set (via sys.mk) and not fully qualified in it's pathname, reset it
to the fully qualified path name to avoid rpcgen bugs with undocumented usage
of CPP.
-rw-r--r-- | mk/defs.NetBSD.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index 3d0635425f5..edc4a79105c 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.49 2003/06/06 17:13:31 drochner Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.50 2003/07/23 20:13:47 jmc Exp $ # # Variable definitions for the NetBSD operating system. @@ -10,6 +10,10 @@ CHOWN?= /usr/sbin/chown CHGRP?= /usr/bin/chgrp CMP?= /usr/bin/cmp CP?= /bin/cp +# Needed for 1.6.1 and earlier due to rpcgen bugs and paths +.if defined(CPP) && ${CPP} == "cpp" +CPP= /usr/bin/cpp +.endif CUT?= /usr/bin/cut DATE?= /bin/date DC?= /usr/bin/dc |