Subject: CVS commit: pkgsrc/bootstrap
To: None <pkgsrc-changes@NetBSD.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: pkgsrc-changes
Date: 04/10/2005 21:54:13
Module Name:	pkgsrc
Committed By:	jschauma
Date:		Sun Apr 10 21:54:13 UTC 2005

Modified Files:
	pkgsrc/bootstrap: bootstrap

Log Message:
Implement changes suggested on tech-pkg some time ago:

(1) rework how command-line arguments are parsed:
instead of --command=<arg>, use --command <arg>

This allows us to not rely on certain commands for which we first need
to figure out where they are to parse the arguments, which in turn
allows us to

(2) add the command-line option

--preserve-path

to prevent bootstrap from munging the PATH (as it does on some platforms)
and look in places that are not currently in the PATH

Finally,

(3) add a check to see if we're using gcc, and set and add the
PKGSRC_COMPILER=<compiler>
flag to the sample mk.conf.  This is particularly useful (and actually
necessary) under IRIX.

Bump BOOTSTRAP_VERSION.


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 pkgsrc/bootstrap/bootstrap

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.