From owner-freebsd-ports@FreeBSD.ORG Sat Feb 24 20:16:09 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBB4016A407; Sat, 24 Feb 2007 20:16:09 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9FEA613C481; Sat, 24 Feb 2007 20:16:09 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 4FCBA61C; Sat, 24 Feb 2007 14:16:09 -0600 (CST) Date: Sat, 24 Feb 2007 14:16:09 -0600 To: Matthew Seaman Message-ID: <20070224201609.GC4960@soaustin.net> References: <20070222141301.007fee4f@localhost> <45DDA117.3050508@FreeBSD.org> <20070224163229.062bd234@localhost> <45E06810.1070704@FreeBSD.org> <45E08E3D.8060104@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45E08E3D.8060104@infracaninophile.co.uk> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) Cc: ports@freebsd.org, Gabor Kovesdan Subject: Re: Optionally depending on one of two ports (or none of them) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 20:16:09 -0000 On Sat, Feb 24, 2007 at 07:13:01PM +0000, Matthew Seaman wrote: > Why not do it this way? > > HAVE_TOR_DEVEL!= if pkg_info -I tor-devel-\* >/dev/null 2>&1 ; then echo YES; fi The problem with this approach is that you couple another shell invocation into 'make index'. As long as they are in individual ports, it's ok, but when we get them in the infrastructure, that's when things slow down. No, I don't have an alternative proposal. mcl