From owner-freebsd-ports Fri Dec 5 16:31:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA27726 for ports-outgoing; Fri, 5 Dec 1997 16:31:24 -0800 (PST) (envelope-from owner-freebsd-ports) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA27714 for ; Fri, 5 Dec 1997 16:31:16 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id QAA15578; Fri, 5 Dec 1997 16:31:02 -0800 (PST) Message-ID: <19971205163102.62094@hydrogen.nike.efn.org> Date: Fri, 5 Dec 1997 16:31:02 -0800 From: John-Mark Gurney To: Warner Losh Cc: ports@FreeBSD.ORG Subject: Re: 2.2-stable from 3.0-current machine? References: <199712051700.KAA10759@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199712051700.KAA10759@harmony.village.org>; from Warner Losh on Fri, Dec 05, 1997 at 10:00:25AM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Warner Losh scribbled this message on Dec 5: > My fast machine is running 3.0-current. I'd love to be able to make > 2.2-stable ports on that machine from the make world tree I keep on > it. > > Any ideas how I might go about doing this easily so I don't have to > build everything on the 386 boxes I'm putting -stable onto... this shouldn't be hard... first, make sure that /usr/src/ points to your 2.2-stable tree... -stable doesn't have the fixes that allow you to do tree independant builds (unless Bruce's sneaked the changes in without me looking)... then you need to do something to prep your build environment to be the 2.2-stable tree... I use the command: eval `make build-env` along with the following change to src's Makefile (this is realitive to -current, so it might not work): .endfor + + build-env: + @echo export PATH=${STRICTTMPPATH} + @echo export COMPILER_PATH=${WORLDTMP}/usr/libexec:${WORLDTMP}/usr/bin + @echo export GCC_EXEC_PREFIX=${WORLDTMP}/usr/lib/ + @echo export LD_LIBRARY_PATH=${WORLDTMP}${SHLIBDIR} + @echo export LIBRARY_PATH=${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib .include this allows me to do kernel builds and other useful things in my -current tree on my 2.2.1-R box... be careful though.. many of the normal binaries that you use aren't built, you will probably need to modify the Makefile to build more binaries if you want it to be useful... another thing to watch out for is the mk files path... you still end up using the ones in /usr/share/mk/* instead of the buildworld's set... I haven't figured out how to fix this... but they are modular enough that you can just upgrade 'em... (becareful of bsd.prog.mk.. it contains fixes for ELF that aren't compatible with 2.2, at least my version of 2.2) hope this info helps you get it running.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD