Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2009 06:19:53 -0800 (PST)
From:      bf <bf2006a@yahoo.com>
To:        freebsd-ports@FreeBSD.org, 000.fbsd@quip.cz
Subject:   direct vs. indirect port dependencies
Message-ID:  <173493.20870.qm@web39105.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
Did you read the thread entitled "Perl upgrade question" in which a
method for doing this was discussed, in the past few days?

Alternatively, you could run something like:

#!/bin/sh
for pdir in `pkg_info -aqo`
do
[ -z `make -C /usr/ports/$pdir -V USE_PERL5 -V USE_PERL5_RUN` ] || \
echo "$pdir"
#or, if you prefer:
#echo `make -C /usr/ports/$pdir -V PKGNAME`
done

to get the names of the ports whose maintainer has asked for 
perl-5.8.x to be a RUN_DEPENDS using the USE_PERL_* framework in bsd.perl.mk.  There are probably many other variations (some of them
more efficient and elegant, no doubt). But the only truly thorough
way to determine which ports need to be rebuilt/modified is to look 
at the source code for each, which you probably won't need to do for
this upgrade.

b.


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?173493.20870.qm>