From owner-freebsd-ports@FreeBSD.ORG Mon Feb 7 02:50:20 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB309106566C for ; Mon, 7 Feb 2011 02:50:20 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 957FB8FC08 for ; Mon, 7 Feb 2011 02:50:20 +0000 (UTC) Received: by gyf3 with SMTP id 3so1638501gyf.13 for ; Sun, 06 Feb 2011 18:50:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ztmYMkx6xtP+3VhRYqbOzZC4K5EBifNdsLSRObbtHLE=; b=TDbNHwciQ9rmzOanMxtq1BQ1/lR7UCYS/vMizt8zCagSPOQfvSo6S7jvtk5HSS+JZf b43MPhypYp1spEeyOOgTSivVXAijBUS9RZtHMdMWXBJJsm/sAMgTAJJC+hW412BvDWWO fj2y/gJX/s4otjb1XvWGjoVfxOWUvVbin1Fyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=ptH/iwPqAtCrxEPZKupVdekNsUXLQ3tFYkeU6H3tqikeYfGKOKjNze/3VbB5Hn6JyT p8TKHIGL/b72uh5/KPE+SqLr8uMv52RpoxCTTJxv1GA+0AEElJwB+HoiFktLgGfk7u3C wHpbLUYuDGnsefIg73PVZ/n+J5xeHGFbZ3f1s= MIME-Version: 1.0 Received: by 10.236.110.172 with SMTP id u32mr161607yhg.63.1297047019839; Sun, 06 Feb 2011 18:50:19 -0800 (PST) Received: by 10.236.110.52 with HTTP; Sun, 6 Feb 2011 18:50:19 -0800 (PST) In-Reply-To: <4D4F57C7.3030906@langille.org> References: <4D4F57C7.3030906@langille.org> Date: Sun, 6 Feb 2011 21:50:19 -0500 Message-ID: From: "b. f." To: Dan Langille Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org Subject: Re: What ports require this port? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 02:50:21 -0000 On 2/6/11, Dan Langille wrote: > On 2/6/2011 9:03 PM, b. f. wrote: >> On 2/6/11, b. f. wrote: > > While we're here... is there anything special about PATCH_DEPENDS, > FETCH_DEPENDS, and EXTRACT_DEPENDS that might be different than the > depends I'm already processing? They seem to be the same format: > > [dan@ngaio:/usr/ports/graphics/tifmerge] $ make -V EXTRACT_DEPENDS > tuc:/usr/ports/converters/tuc > /usr/local/bin/unzip:/usr/ports/archivers/unzip > > [dan@ngaio:/usr/ports/www/apache13-modssl] $ make -V PATCH_DEPENDS > /usr/local/bin/perl5.8.9:/usr/ports/lang/perl5.8 > /usr/local/bin/perl5.8.9:/usr/ports/lang/perl5.8 IIRC, they are the same ordered triple format. By the way, just because a port is in the *_DEPENDS of another port, doesn't necessarily mean that the first port must be installed to build the second port: sometimes the (usually absent) third element of the triplet can be used to override the default "install". So some *_DEPENDS, for example, just need to be fetched rather than installed. Others may just need to execute some simple target defined in the Makefile of the dependency. I don't know whether you want to include that level of detail in your Freshports pages. > However, my manual searches to find a port which outputs a value for > 'make -V FETCH_DEPENDS' have failed so far. But I'm sure it will turn > up during my first few test runs. fgrep -e FETCH_DEPENDS -nH -r $PORTSDIR --include='*Makefile': ports/cad/kicad-devel/Makefile:83:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/cad/kicad-devel/Makefile:84:FETCH_DEPENDS+= bzr:${PORTSDIR}/devel/bazaar-ng ports/comms/wsjt/Makefile:66:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/devel/compiler-rt/Makefile:62:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/devel/llvm-devel/Makefile:89:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/graphics/seom/Makefile:47:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/graphics/yukon/Makefile:44:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/lang/clang-devel/Makefile:75:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/net/xorp-devel/Makefile:45:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/print/bsd_lpr/Makefile:33:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/www/trac-discussion/Makefile:31:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/www/trac-fivestarvote/Makefile:30:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/www/trac-math/Makefile:37:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/www/trac-ticketimport/Makefile:31:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion ports/www/trac-vote/Makefile:30:FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion b.