From owner-freebsd-ports@FreeBSD.ORG Mon Feb 7 02:54:54 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 A248510656E2 for ; Mon, 7 Feb 2011 02:54:54 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 56C1F8FC15 for ; Mon, 7 Feb 2011 02:54:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 61BED50C3F; Mon, 7 Feb 2011 02:54:53 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TG2s9ZOVN7H6; Mon, 7 Feb 2011 02:54:53 +0000 (GMT) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 0606450C34 ; Mon, 7 Feb 2011 02:54:53 +0000 (GMT) Message-ID: <4D4F5EF3.9030207@langille.org> Date: Sun, 06 Feb 2011 21:54:43 -0500 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: bf1783@gmail.com References: <4D4F57C7.3030906@langille.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "b. f." , 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 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:54:54 -0000 On 2/6/2011 9:50 PM, b. f. wrote: > 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. I think you are referring to suffixes such as :patch, :fetch, :config. FreshPorts ignores those entirely. It just lists the ports regardless of those suffixes. >> 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 Find a Makefile containing FETCH_DEPENDS is one thing. Getting a value from the default config settings is another. :) I wasn't explicit about that, but I chose the words carefully. -- Dan Langille - http://langille.org/