Bug 222388 - [feature request] make config dialog should mark options which pull (run) dependencies
Summary: [feature request] make config dialog should mark options which pull (run) dep...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-17 11:13 UTC by jakub_lach
Modified: 2017-09-18 12:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakub_lach 2017-09-17 11:13:16 UTC
It would save you reading Makefile each time you are not sure what some option really wants to do. Ideally, it would point to a port name/it's pkg-descr or at least marking by colour/'*'.

Filling a PR so it would not get lost.
Comment 1 jakub_lach 2017-09-17 16:14:33 UTC
Permanently tagged default options would be nice too (as in ml thread with Kevin Oberman). It would help with those 'why I can't do/compile X while using non-standard OPTIONS and having already forgotten about it'. I think it clearly looks like a dialog4ports feature request now.
Comment 2 Mathieu Arnold freebsd_committer 2017-09-18 11:50:47 UTC
There is already a mechanism in place to describe what options do in more detail, it is to put the explanations in a file called pkg-help.

See make -c /usr/ports/dns/bind9-devel config 

It tells you to type <F1> or ^E to see more information.
Comment 3 jakub_lach 2017-09-18 12:36:11 UTC
(In reply to Mathieu Arnold from comment #2)

Thanks, I've missed that, still, in my case I'm primarily concerned if an option pulls in another dependency or not, I think that's pretty basic stuff. Similarly, if it's a default or not. e.g. we now have '+' for previously unset ones, '*' could mark the ones pulling the other stuff and 'd' the default ones. It could look messy though, so there is a better way to do it probably.