Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pcc sterilise the environment before running co...



details:   https://anonhg.NetBSD.org/src/rev/5ccea6f11e3c
branches:  trunk
changeset: 765707:5ccea6f11e3c
user:      plunky <plunky%NetBSD.org@localhost>
date:      Fri Jun 03 08:56:39 2011 +0000

description:
sterilise the environment before running configure

diffstat:

 external/bsd/pcc/prepare-import.sh |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 17f27aa1bbff -r 5ccea6f11e3c external/bsd/pcc/prepare-import.sh
--- a/external/bsd/pcc/prepare-import.sh        Fri Jun 03 08:07:48 2011 +0000
+++ b/external/bsd/pcc/prepare-import.sh        Fri Jun 03 08:56:39 2011 +0000
@@ -46,7 +46,7 @@
 echo "====> Creating pcc \"config.h\" file..."
 mkdir work/tmp
 cd work/tmp
-sh ../pcc/configure
+env -i PATH=/bin:/usr/bin /bin/sh ../pcc/configure
 cd ../..
 #
 # comment out items we provide at build time from Makefile.inc



Home | Main Index | Thread Index | Old Index