From owner-freebsd-questions Thu Mar 14 11:50:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 0F15037B405 for ; Thu, 14 Mar 2002 11:50:46 -0800 (PST) Received: (qmail 33417 invoked by uid 100); 14 Mar 2002 19:50:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15504.65297.772987.431279@guru.mired.org> Date: Thu, 14 Mar 2002 13:50:41 -0600 To: Mathieu Arnold Cc: questions@FreeBSD.ORG Subject: Re: read only /usr/ports In-Reply-To: <216976875.1016093411@sauron> References: <15503.53459.425125.210327@guru.mired.org> <216976875.1016093411@sauron> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.48 (Python 2.2 on freebsd4) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <216976875.1016093411@sauron>, Mathieu Arnold 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///work// > >> and not /usr/ports/// > >> 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//, 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///, which for things in > > /usr/ports looks like your /usr/obj/usr/ports//. > > no, it shokes on : > cd /usr/obj/usr/ports///work// && make real-build > but the makefile that knows how to do real-build is not there but is in > /usr/ports/// > Ok, you've convinced me. However, it still works fine for me. When was the last time you updated /usr/ports/Mk? 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