Subject: Re: Please test bootstrap
To: Jeremy C. Reed <reed@reedmedia.net>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-pkg
Date: 11/08/2005 22:08:49
>./bmake/boot-strap -q -o DragonFly 
>--with-default-sys-path=/home/reed/pkg/share/mk:/usr/share/mk:/usr/local/share
>/mk:/opt/share/mk 

Any of the --with-* will cause CONFIGURE_ARGS to be set.

>--prefix=/home/reed/pkg --host=i386-pc-dragonfly1 
>--mandir=/home/reed/pkg/share/man
>
>But that doesn't work anymore.
>
>I noticed it set some GNU_CONFIGURE switches even though GNU_CONFIGURE was 

GNU_CONFIGURE ?  

'grep GNU_CONFIG *' returns nothing, did you mean CONFIGURE_ARGS ?

>"no". This is caused because bsd.pkg.mk just checks if GNU_CONFIGURE is 
>defined and not for "yes".
>
>Anyways ... I ran:
>
>cd /build/reed/tmp/pkgsrc/devel/bmake/work.reed && ./bmake/boot-strap
>
>and received:
>
>Usage:
>./bmake/boot-strap [--<configure_arg> ...][-s <srcdir>][-m <mksrc>][<prefix> [
>[<srcdir>] [<mksrc>]]]
>*** Error code 1

That's odd.  On all the systems I tested on (NetBSD, FreeBSD, Linux,
SunOS), the above just works.  Are you sure your bmake directory is
complete and clean (ie only what came in bmake-*tgz ?)

>What part is not optional?

Don't know.  What do you get for 

MD5 (./bmake/boot-strap) = fbe5345e0f1cd8b02e28d257f960049a

--sjg