From owner-freebsd-ports@FreeBSD.ORG Thu Jun 10 15:59:19 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 3554D16A4CE for ; Thu, 10 Jun 2004 15:59:19 +0000 (GMT) Received: from deliver.epitech.net (deliver.epitech.net [163.5.0.25]) by mx1.FreeBSD.org (Postfix) with SMTP id 91DB643D31 for ; Thu, 10 Jun 2004 15:59:18 +0000 (GMT) (envelope-from le-hen_j@epita.fr) Received: from epita.fr ([10.42.1.60]) by deliver.epitech.net (SAVSMTP 3.1.2.35) with SMTP id M2004061017542302664 for ; Thu, 10 Jun 2004 17:54:23 +0200 Received: from rocco (rocco.epita.fr [10.42.14.9]) by epita.fr id i5AFxF002007 for freebsd-ports@freebsd.org EPITA Paris France Thu, 10 Jun 2004 17:59:15 +0200 (CEST) Date: Thu, 10 Jun 2004 17:59:14 +0200 From: Jeremie Le Hen To: freebsd-ports@freebsd.org Message-ID: <20040610155914.GA5026@rocco.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: 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 15:59:19 -0000 Hi, 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 ? Please, cc me is your reply, I am not subscribed to this list. Regards, -- Jeremie LE HEN aka TtZ/TataZ jeremie.le-hen@epita.fr ttz@epita.fr Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!