Date: Thu, 14 Mar 2002 13:50:41 -0600 From: "Mike Meyer" <mwm-dated-1016567442.891745@mired.org> To: Mathieu Arnold <mat@mat.cc> Cc: questions@FreeBSD.ORG Subject: Re: read only /usr/ports Message-ID: <15504.65297.772987.431279@guru.mired.org> In-Reply-To: <216976875.1016093411@sauron> References: <15503.53459.425125.210327@guru.mired.org> <216976875.1016093411@sauron>
next in thread | previous in thread | raw e-mail | index | archive | help
In <216976875.1016093411@sauron>, Mathieu Arnold <mat@mat.cc> types: > >> nope, the pb lies around line 2481 of bsd.port.mk : > >> @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} real-build > >> where .CURDIR is /usr/obj/usr/ports/<a>/<port>/work/<it's srcdir>/ > >> and not /usr/ports/<a>/<port>/ > >> don't ask why, I found where, but I can't find out why. > > > > I assume you meant that it should resolve to /usr/obj/<a>/<port>, as > > you want /usr/ports to be r/o. That's wrong. The "why" is so that you > > can have multiple ports trees around, or just multiple versions of a > > port - which is common for a port maintainer. The solution was to make > > it resolve to /usr/obj/<path>/<to>/<port>, which for things in > > /usr/ports looks like your /usr/obj/usr/ports/<a>/<port>. > > no, it shokes on : > cd /usr/obj/usr/ports/<a>/<port>/work/<it's srcdir>/ && make real-build > but the makefile that knows how to do real-build is not there but is in > /usr/ports/<a>/<port>/ > Ok, you've convinced me. However, it still works fine for me. When was the last time you updated /usr/ports/Mk? <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15504.65297.772987.431279>