diff options
author | jmc <jmc> | 2003-07-23 20:13:47 +0000 |
---|---|---|
committer | jmc <jmc> | 2003-07-23 20:13:47 +0000 |
commit | 235ef8200b454893be92aee49b1bea671a29bca0 (patch) | |
tree | 685fb6250d049baedbb992600b9af8dbbbaaed7e /mk/defs.NetBSD.mk | |
parent | e976c33878b9432547640043a454e31604f5a213 (diff) | |
download | pkgsrc-235ef8200b454893be92aee49b1bea671a29bca0.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.
Diffstat (limited to 'mk/defs.NetBSD.mk')
-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 |