From owner-freebsd-ports@FreeBSD.ORG Tue Jun 15 09:03:37 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 54DE616A4CE for ; Tue, 15 Jun 2004 09:03:37 +0000 (GMT) Received: from fillmore.dyndns.org (port-212-202-50-15.dynamic.qsc.de [212.202.50.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20CB343D48 for ; Tue, 15 Jun 2004 09:03:37 +0000 (GMT) (envelope-from eikemeier@fillmore-labs.com) Received: from [172.16.0.13] (helo=localhost) by fillmore.dyndns.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34 (FreeBSD)) id 1Ba9qZ-000O5h-Si; Tue, 15 Jun 2004 11:03:14 +0200 Date: Tue, 15 Jun 2004 11:03:16 +0200 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) To: Tom Alsberg From: Oliver Eikemeier In-Reply-To: <20040615083216.GA24712@cs.huji.ac.il> Message-Id: Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: Roman Neuhauser cc: FreeBSD Ports List Subject: Re: /usr/ports symlink + 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: Tue, 15 Jun 2004 09:03:37 -0000 Tom Alsberg wrote: > With the new ports/Mk/bsd.port.subdir.mk, make search (seems like a > quite revamped awk script, relative to the old one) checks the second > field of INDEX to be the same as `pwd` (eventually, through awk -v > there=$here, here=`pwd`)... > > That breaks when /usr/ports is a symbolic link to somewhere else > (e.g. we have the ports in a centralized location, /usr/ports is a > symlink to /r+d/ports, and it is read only - work is done in > $WRKDIRPREFIX set to a writeable location). > [...] Could you please send-pr this, so that it doesn't get lost? -Oliver