From owner-freebsd-ports@FreeBSD.ORG Sun May 2 07:35:47 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 DADD216A4CE for ; Sun, 2 May 2004 07:35:47 -0700 (PDT) Received: from endif.cjb.net (65-101-229-205.dnvr.qwest.net [65.101.229.205]) by mx1.FreeBSD.org (Postfix) with SMTP id 3468443D48 for ; Sun, 2 May 2004 07:35:47 -0700 (PDT) (envelope-from end@endif.cjb.net) Received: (qmail 6236 invoked from network); 2 May 2004 14:35:46 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 2 May 2004 14:35:46 -0000 Date: Sun, 2 May 2004 08:35:46 -0600 From: Robin Schoonover To: Kris Kennaway In-Reply-To: <6556B8F8-9BFB-11D8-9787-00306541AD3A@obsecurity.org> References: <20040501235333.GA84676@yashin.myname.mydomain> <20040502002248.1E0ED43D39@mx1.FreeBSD.org> <6556B8F8-9BFB-11D8-9787-00306541AD3A@obsecurity.org> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20040502143547.3468443D48@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 14:35:48 -0000 On Sat, 01 May 2004 22:41:44 -0700, Kris Kennaway wrote: > 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. > You're right. Now it is even more worthless. :P The only use it has now that I can see is that make -V SUBDIR doesn't show nonexistant directories. (I don't think we need that very much.) -- Robin Schoonover (aka End) # /* And you'll never guess what the dog had */ # /* in its mouth... */ # --Larry Wall in stab.c from the perl source code