pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Provide a new variable NO_EXPORT_CPP to further res...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b93ef73b9b6c
branches:  trunk
changeset: 459682:b93ef73b9b6c
user:      jmc <jmc%pkgsrc.org@localhost>
date:      Mon Aug 04 21:06:47 2003 +0000

description:
Provide a new variable NO_EXPORT_CPP to further restrict CPP from getting into
MAKE_ENV. There is no effective way to unset CPP otherwise and there are
some packages (the cross compilers using gcc) where having CPP set will
break things.

diffstat:

 mk/bsd.pkg.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bef002e6dfeb -r b93ef73b9b6c mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon Aug 04 21:02:16 2003 +0000
+++ b/mk/bsd.pkg.mk     Mon Aug 04 21:06:47 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1229 2003/08/02 13:17:05 wiz Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1230 2003/08/04 21:06:47 jmc Exp $
 #
 # This file is in the public domain.
 #
@@ -340,7 +340,7 @@
 .if defined(CXX)
 MAKE_ENV+=             CXX="${CXX}"
 .endif
-.if defined(CPP)
+.if defined(CPP) && !defined(NO_EXPORT_CPP)
 MAKE_ENV+=             CPP="${CPP}"
 .endif
 
@@ -549,7 +549,7 @@
 .endif
 
 # base vs. GNU tools
-.include "../../mk/tools.mk"
+. include "../../mk/tools.mk"
 
 .if defined(USE_NEW_TEXINFO)
 INFO_FILES?=



Home | Main Index | Thread Index | Old Index