Thanks for the nice post, I usually don't update my ports tree until I have to build something (or every few months).
Writing a script to handle the depends is worth not having to wait on cvsup/csup to finish the *usual way* !!
Quote:
Originally Posted by Carpetsmoker
% make depends-list
Recursive and pretty formatting
This is a nice tip, I always use(d) "cvs co" if I only need to update a single port, this is much easier.
|
I don't suppose there is an equivalent for viewing a ports build options (make config) is there?
I remember working on a program that needed me to dig up a target ports Makefile, locate OPTIONS and generate a custom QDialog for setting the ones desired, including handling <ports-db>/portname/options where necessary -- it was not fun dealing with the makefile part!
And actually now that I try using zsh's tab completion with make and the ports I used for field testing that module:
Code:
Terry@dixie$ cd /usr/ports/net/samba3/ 7:51
Terry@dixie$ make depends-list 7:51
make: don't know how to make depends-list. Stop
Terry@dixie$ make show-options 7:51
make: don't know how to make show-options. Stop
Terry@dixie$ cd /usr/ports/editors/vim 7:51
Terry@dixie$ make depends-list 7:51
make: don't know how to make depends-list. Stop
Terry@dixie$ make show-options 7:51
===> The following configuration options are available for vim-7.1.282:
PERL=off (default) "Enable Perl interpreter"
PYTHON=off (default) "Enable Python interpreter"
RUBY=off (default) "Enable Ruby interpreter"
CSCOPE=off (default) "Enable cscope"
EXUBERANT_CTAGS=off (default) "Use exctags instead of ctags"
ATHENA=off (default) "Athena GUI"
GTK2=off (default) "GTK2 GUI"
GNOME=off (default) "Gnome1 GUI"
MOTIF=off (default) "Motif GUI"
XTERM_SAVE=off (default) ""
===> Use 'make config' to modify these settings
Terry@dixie$ 7:51
Just peachy :\