On 2/6/2011 9:50 PM, b. f. wrote:
On 2/6/11, Dan Langille<d...@langille.org>  wrote:
On 2/6/2011 9:03 PM, b. f. wrote:
On 2/6/11, b. f.<bf1...@googlemail.com>   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/
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to