From owner-freebsd-ports@FreeBSD.ORG Thu Jun 10 21:04:45 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1BE516A4CE for ; Thu, 10 Jun 2004 21:04:45 +0000 (GMT) Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 8653A43D45 for ; Thu, 10 Jun 2004 21:04:44 +0000 (GMT) (envelope-from neuhauser@chello.cz) Received: (qmail 47848 invoked by uid 0); 10 Jun 2004 21:04:23 -0000 Received: from r3al16.mistral.cz (HELO isis.wad.cz) (213.220.229.16) by smtp.dkm.cz with SMTP; 10 Jun 2004 21:04:23 -0000 Received: by isis.wad.cz (Postfix, from userid 1001) id 2504C2FDA01; Thu, 10 Jun 2004 23:04:21 +0200 (CEST) Date: Thu, 10 Jun 2004 23:04:19 +0200 From: Roman Neuhauser To: Jeremie Le Hen Message-ID: <20040610210419.GA497@isis.wad.cz> Mail-Followup-To: Jeremie Le Hen , freebsd-ports@freebsd.org References: <20040610155914.GA5026@rocco.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040610155914.GA5026@rocco.epita.fr> User-Agent: Mutt/1.5.6i cc: freebsd-ports@freebsd.org Subject: Re: WRKDIRPREFIX and make search X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 21:04:46 -0000 # jeremie.le-hen@epita.fr / 2004-06-10 17:59:14 +0200: > when I shared my ports tree using NFS among all my FreeBSD boxes (and > thus set WRKDIRPREFIX in make.conf(5) to avoid conflicts while > upgrading) I noticed that "make search" didn't work any longer (it > doesn't find anything). > > I started to debug Mk/bsd.port.subdir.mk and I discovered that the > working directory seems to be $WRKDIRPREFIX/$PORTSDIR and thus > $here variable contains $WRKDIRPREFIX/$PORTSDIR ("/usr/obj/usr/ports" > in my case). Since it greps for this path in the INDEX file, nothing > is found. > > Is it a bug or a feature ? In the later case, what am I missing ? the manual page for make, specifically, the description of .OBJDIR. you'll be happier if you set WRKDIRPREFIX to something else than /usr/obj. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html