View Single Post
  #7   (View Single Post)  
Old 30th December 2014
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

If a variable starts with an underscore, it means it's for internal use. Glancing at the Makefile, this does something completely different than what you expect (it's used to keep track of a list of possible *_DEPENDS, such as RUN_DEPENDS, BUILD_DEPENDS, FETCH_DEPENDS, etc.).

As far as I know, there is no easy way to do what you want. The new pkg tools broke a lot of stuff (such as portmaster, as you've noticed).

- You can get a list of all dependencies with make all-depends-list;
- You can check if a package is installed by the origin name with pkg query -e '%o = sysutils/tmux' %o

This should give you the basic ingredients to write a script :-)
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote