Date: Tue, 9 Nov 2004 08:59:41 +0100 From: "Axel S. Gruner" <axel.gruner@suedfactoring.de> To: "Chad Leigh -- Shire.Net LLC" <chad@shire.net> Cc: questions@freebsd.org Subject: Re: Problem making jail in 5.3-STABLE Message-ID: <20041109075941.GA59788@pcs28.suedfactoring.de> In-Reply-To: <FA16EEFA-31E9-11D9-B9DF-003065A70D30@shire.net> References: <20041108222638.GD92358@polands.org> <1269804110815121f9cf6c3@mail.gmail.com> <20041109002704.GA42548@omniresources.com> <FA16EEFA-31E9-11D9-B9DF-003065A70D30@shire.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Use this patch: Index: Makefile.inc1 =================================================================== RCS file: /data/ncvs/freebsd/src/Makefile.inc1,v retrieving revision 1.438.2.4 diff -u -r1.438.2.4 Makefile.inc1 --- Makefile.inc1 30 Sep 2004 23:36:06 -0000 1.438.2.4 +++ Makefile.inc1 4 Nov 2004 13:24:16 -0000 @@ -180,13 +180,13 @@ GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac # bootstrap-tools stage -BMAKEENV= DESTDIR= \ - INSTALL="sh ${.CURDIR}/tools/install.sh" \ +BMAKEDEV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ PATH=${BPATH}:${PATH} \ WORLDTMP=${WORLDTMP} \ MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \ ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ + DESTDIR= \ BOOTSTRAPPING=${OSRELDATE} \ -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE \ -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS @@ -194,6 +194,7 @@ # build-tools stage TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \ ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ + DESTDIR= \ BOOTSTRAPPING=${OSRELDATE} -DNOLINT -DNO_CPU_CFLAGS -DNO_WARNS # cross-tools stage @@ -201,11 +202,10 @@ # world stage WMAKEENV= ${CROSSENV} \ - DESTDIR=${WORLDTMP} \ _SHLIBDIRPREFIX=${WORLDTMP} \ INSTALL="sh ${.CURDIR}/tools/install.sh" \ PATH=${TMPPATH} -WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 +WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 DESTDIR=${WORLDTMP} # install stage .if empty(.MAKEFLAGS:M-n) Save it as "Makefile.inc1.diff" in your home, switsch to /usr/src. Become root: #patch < /your/home/Makefile.inc1.diff Build the jail. I got this patch from a friend of mine, for me it works perfect.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041109075941.GA59788>