direct vs. indirect port dependencies

bf bf2006a at yahoo.com
Fri Jan 16 06:19:54 PST 2009


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.


      


More information about the freebsd-ports mailing list