Finding depends-on ports
Beeblebrox
zaphod at berentweb.com
Fri Jun 2 19:19:02 UTC 2017
I'm running a default-settings ports build from a ports-list file in
poudriere (-f /path/file), which means no options have been defined by
"# make config" or by make.conf (empty /var/db/ports, so can't look
there).
Is there an easy way to find or back-trace which forward ports depend on
a certain port without running configure for the whole list? The only
thing I could think of is to write a shell script like:
cat file-name | while read line
make -C $line all-depends-list | grep <portname>
printf $stuff > outfile
Regards
--
FreeBSD_amd64_12-Current_RadeonKMS
Please CC my email when responding, mail from list is not delivered.
More information about the freebsd-ports
mailing list