pkgsrc-Users archive

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

Re: freebsd bootstrap problem



On Tue, May 30, 2006 at 02:29:24PM -0400, George Georgalis wrote:
> is this bootstrap problem obvious to anyone?
> 
> FreeBSD 6.0-RELEASE jail
> 
> MD5 (/usr/local/dist/pkgsrc-2006Q1.tar.bz2) = 64dfb4f1486b5a126d63ca69c4985963
> 
> 
> cd /usr/ && tar xjf /usr/local/dist/pkgsrc-2006Q1.tar.bz2
> cd /usr/pkgsrc && cvs -q upd -dP
> cd /usr/pkgsrc/bootstrap && ./bootstrap

OK, this is the problem we have been discussing all day.
Does it work when you apply the attached patch in devel/bmake/files?

Joerg
$NetBSD$

--- makefile.boot.in.orig       2005-11-10 00:00:00.000000000 +0100
+++ makefile.boot.in
@@ -13,14 +13,14 @@ MKDEP=$(srcdir)/mkdeps.sh -n -i/usr/incl
 MKDEP_OPTS=-A
 MK=${prefix}/share/mk
 MKSRC=@mksrc@
-DEFAULT_MAKESYSPATH=/usr/share/mk:/usr/local/share/mk:/opt/share/mk
+DEFAULT_MAKESYSPATH=@default_sys_path@
 CFLAGS=-I. -I$(srcdir) @DEFS@ @CPPFLAGS@ ${XDEFS} 
-D_PATH_DEFSYSPATH=\"@default_sys_path@\"
 MDEFS="-D@force_machine@MACHINE=\"@machine@\"" 
"-DMACHINE_ARCH=\"@machine_arch@\""
 
 OBJ=arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o \
     parse.o str.o suff.o targ.o trace.o var.o util.o getopt.o sigcompat.o 
@LIBOBJS@
 
-BMAKE_ENV= CC="$(CC)" LIBC= MAKEFLAGS= 
MAKESYSPATH=`pwd`/mk:${MKSRC}:${MK}:${DEFAULT_MAKESYSPATH}
+BMAKE_ENV= CC="$(CC)" LIBC= MAKEFLAGS= MAKESYSPATH=${DEFAULT_MAKESYSPATH}
 
 bootstrap:     bmake.boot .mk.done
        ${BMAKE_ENV} ./bmake.boot -f Makefile 


Home | Main Index | Thread Index | Old Index