pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap append, not prepend, /usr/ccs/bin to the $PA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7dcbcf65a404
branches:  trunk
changeset: 487512:7dcbcf65a404
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Jan 16 02:56:24 2005 +0000

description:
append, not prepend, /usr/ccs/bin to the $PATH (where it exists).
Solaris is happy with it being tacked onto the end, and it unbreaks
the build on HP-UX with the native compiler.

from Andrey Zakharchenko.

diffstat:

 bootstrap/bootstrap |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 050606653b2c -r 7dcbcf65a404 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Sun Jan 16 02:33:52 2005 +0000
+++ b/bootstrap/bootstrap       Sun Jan 16 02:56:24 2005 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.27 2005/01/12 16:42:13 jschauma Exp $
+# $NetBSD: bootstrap,v 1.28 2005/01/16 02:56:24 grant Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -469,7 +469,7 @@
 # export the proper environment
 PATH=$prefix/bin:$prefix/sbin:${PATH}; export PATH
 if [ -d /usr/ccs/bin -a -x /usr/ccs/bin/make ]; then
-       PATH=/usr/ccs/bin:$PATH; export PATH
+       PATH=${PATH}:/usr/ccs/bin; export PATH
 fi
 PKG_DBDIR=$pkgdbdir; export PKG_DBDIR
 LOCALBASE=$prefix; export LOCALBASE



Home | Main Index | Thread Index | Old Index