From owner-freebsd-ports@FreeBSD.ORG Sat May 1 22:41:49 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 1D57E16A4CE for ; Sat, 1 May 2004 22:41:49 -0700 (PDT) Received: from postal.usc.edu (postal.usc.edu [128.125.253.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0947843D45 for ; Sat, 1 May 2004 22:41:49 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from [10.0.0.2] (citusc17.usc.edu [128.125.38.177]) by postal.usc.edu (Sun ONE Messaging Server 6.0 HotFix 1.03 (built Apr 23 2004)) with ESMTP id <0HX2008E7NTL7TD0@postal.usc.edu> for ports@FreeBSD.org; Sat, 01 May 2004 22:41:45 -0700 (PDT) Date: Sat, 01 May 2004 22:41:44 -0700 From: Kris Kennaway In-reply-to: <20040502002248.1E0ED43D39@mx1.FreeBSD.org> To: Robin Schoonover Message-id: <6556B8F8-9BFB-11D8-9787-00306541AD3A@obsecurity.org> MIME-version: 1.0 X-Mailer: Apple Mail (2.606) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT References: <20040501235333.GA84676@yashin.myname.mydomain> <20040502002248.1E0ED43D39@mx1.FreeBSD.org> cc: ports@FreeBSD.org cc: Aleksandar Simic Subject: Re: Improving /usr/ports/Makefile ? 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: Sun, 02 May 2004 05:41:49 -0000 On May 1, 2004, at 5:22 PM, Robin Schoonover wrote: > I'd rather have something like > > .for TCAT in ${SUBDIR} > . if exists (${.CURDIR}/${TCAT}) > _SUBDIR_C+= ${TCAT} > . endif > .endfor > SUBDIR=${_SUBDIR_C} > > attached after all the SUBDIR lines instead because it adds less > clutter > to the actual SUBDIR listing, which makes it a little eaiser (IMO) to > read. Are you sure this will actually do anything? Without referring to the code I would expect bsd.port.subdir.mk to ignore (with warning) categories that are listed but nonexistent. Kris