Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-1]: src Apply patch (requested by jmc in ticket #10194):
details: https://anonhg.NetBSD.org/src/rev/3a6dfab3a7e6
branches: netbsd-2-1
changeset: 564136:3a6dfab3a7e6
user: tron <tron%NetBSD.org@localhost>
date: Mon Dec 12 11:25:36 2005 +0000
description:
Apply patch (requested by jmc in ticket #10194):
Clean up environment to avoid side effects on builds.
diffstat:
build.sh | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 4881702b4f59 -r 3a6dfab3a7e6 build.sh
--- a/build.sh Wed Dec 07 10:25:02 2005 +0000
+++ b/build.sh Mon Dec 12 11:25:36 2005 +0000
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.127.2.1 2004/08/22 13:35:06 tron Exp $
+# $NetBSD: build.sh,v 1.127.2.1.4.1 2005/12/12 11:25:36 tron Exp $
#
# Copyright (c) 2001-2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -643,8 +643,11 @@
[ -n "${MACHINE_ARCH}" ] || getarch
validatearch
- # Set up default make(1) environment.
+ # Set various environment variables to known defaults,
+ # to minimize (cross-)build problems observed "in the field".
#
+ unsetmakeenv INFODIR
+ unsetmakeenv LESSCHARSET
setmakeenv LC_ALL C
makeenv="${makeenv} TOOLDIR MACHINE MACHINE_ARCH MAKEFLAGS"
[ -z "${BUILDID}" ] || makeenv="${makeenv} BUILDID"
@@ -847,7 +850,7 @@
eval cat <<EOF ${makewrapout}
#! /bin/sh
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.127.2.1 2004/08/22 13:35:06 tron Exp $
+# Generated from: \$NetBSD: build.sh,v 1.127.2.1.4.1 2005/12/12 11:25:36 tron Exp $
#
EOF
Home |
Main Index |
Thread Index |
Old Index