Date: Thu, 2 Jun 2005 12:33:35 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no> Cc: Tarc <tarc@tarc.po.cs.msu.su>, freebsd-current <freebsd-current@freebsd.org>, Kris Kennaway <kris@obsecurity.org> Subject: Re: FreeBSD 6.0-CURRENT lastest snapshots Message-ID: <790a9fff05060210335d8b298f@mail.gmail.com> In-Reply-To: <86br6o7kc1.fsf@xps.des.no> References: <20050530150621.GB90183@tarc.po.cs.msu.su> <20050530184005.GB66808@xor.obsecurity.org> <20050531102256.GA20255@tarc.po.cs.msu.su> <20050531114050.GA51381@xor.obsecurity.org> <20050531121253.GB4872@tarc.po.cs.msu.su> <86br6o7kc1.fsf@xps.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/2/05, Dag-Erling Sm=F8rgrav <des@des.no> wrote: > Tarc <tarc@tarc.po.cs.msu.su> writes: > > I work now under cross-compilling system: on FreeBSD 4.10 or 5.3 > > compile for FreeBSD 6.0-CURRENT. But this has an big problem: it's > > needed to patch some Makefiles and sources which hardcoded depends > > on path '/usr/src', where sources are placed >=20 > There are no such hardcoded dependencies anywhere in the src tree. >=20 There is one dependency in the src tree. See PR 76362 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin/76362 The dependancy occurs when you have your source tree in a different location than /usr/src, as the /sys directory is linked to usr/src/sys. If your source tree is in /usr/home/foo/src, and you set /sys -> usr/home/foo/src/sys. After a make installkernel the /sys link now points to the wrong location. Now when you build modules from ports, they'll either fail to find the /sys directory or use the wrong /sys directory. This affects users who may have moved their source trees and/or have multiple source trees mounted from one NFS mount point (as given in the example in the PR). Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff05060210335d8b298f>