From owner-freebsd-ports@FreeBSD.ORG Thu Feb 5 22:21:02 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 9F79D16A4CE; Thu, 5 Feb 2004 22:21:02 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 921EF43DB5; Thu, 5 Feb 2004 22:21:01 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.10/8.12.9) with ESMTP id i166L1A0031734; Thu, 5 Feb 2004 22:21:01 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.10/8.12.10/Submit) id i166L1Sw031733; Thu, 5 Feb 2004 22:21:01 -0800 (PST) (envelope-from obrien) Date: Thu, 5 Feb 2004 22:21:00 -0800 From: "David O'Brien" To: Joe Marcus Clarke Message-ID: <20040206062100.GB29898@dragon.nuxi.com> References: <1075871381.76993.21.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1075871381.76993.21.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: ports@FreeBSD.org Subject: Re: HEADS UP: Latest round of bsd.*.mk changes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 06:21:02 -0000 On Wed, Feb 04, 2004 at 12:09:42AM -0500, Joe Marcus Clarke wrote: > Type: BUGFIX > Title: Remove NetBSD and OpenBSD bits from bsd.port.mk ... > Type: FEATURE > Title: Add new DIRNAME macro > Description: A new DIRNAME macro has been added that points to > /usr/bin/dirname. All direct use of dirname in ports can be switched > to this macro. Why do we define a macro for every utility in /usr/bin? Part of why we started this was people kept using 'mkdir' and leaving off the "-p", so Satoshi made that one a macro. Also 'tar' lived in different places on *BSD, so the TAR macro was created. But what's so special about 'sort' and 'dirname' to need this treatment? Do we assume the builder has zero $PATH at all? About the only thing I can see ${DIRNAME} and ${SORT} doing is lengthening the Makefile action lines by 3 characters / invocation.