automating menu options in ports (and other ports build questions)

Gary Aitken freebsd at dreamchaser.org
Fri May 25 05:55:22 UTC 2012


> > I didn't see anything in the ports documentation, but maybe
> I'm blind.
Check "man 7 ports".

Doh.  I'm blind.  I've read that at least three times looking at other 
stuff.  Makes sense now.  Thanks

> especially because it's illegal to listen to MP3 in the U. S. :-)

grrrr...

>> 5. It looks like the options which show up using sysinstall are from the
>> OPTIONS variable in the Makefile.
>
> Excuse me, where exactly do you see compile-time options in the
> sysinstall program? I know it can select and install packages,
> but PORTS?

What I mean is the OPTIONS variable is what shows up when
   make config
is done (now that I understand it a little better)

> If you deal with ports, it's often useful to have a second
> system / terminal / computer / ... with a web browser so you
> can try to look up the meaning of options. If you don't have
> that, making a selection can be hard:
>
> +--------------------------------------------------------------------+
> |                     Options for stupido 19.84                      |
> | +----------------------------------------------------------------+ |
> | | [ ] CUPS         Enable support for printing (requires CUPS)   | |
> | | [ ] GTK          Use GTK backend                               | |
> | | [ ] KDE4         Use KDE4 backend in room 101                  | |
> | | [ ] FUSE         Enable FUSE                                   | |
> | | [ ] OPENGL       Use OpenGL graphics                           | |
> | | [ ] KLOMPATSH    Use Klompatsh                                 | |
> | | [ ] RHUMBOIRE    Use RHUMBOIRE backend                         | |
> | | [ ] QUEEKNARG    Enable QUEEKNARG support                      | |
> | | [ ] ECK'N'POOT   Build with COM-POO-TAIR module                | |
> | | [ ] SHMEER       Build bindings for Shmeer and Shmeerlappen    | |
> | | [ ] SHLORTS      Enable support for SHLORTS (requires GNOOLFS) | |
> | | [x]              Use nothing, go away.                         | |
> +-+----------------------------------------------------------------+-+
> |                       [  OK  ]       Cancel                        |
> +--------------------------------------------------------------------+

Unfortunately, lots-o-computers but only one screen :-(
Super.  I've been looking for bindings to Shmeerlappen for years.
And my shlorts have needed support for a long time too.

>>     Or is this a documentation project in the offing?
>
> I would welcome a kind of text file that lists all the strange
> names with a short description of what they are and what you
> need them for, being more informative than the short "one liners"
> in the options dialog.

Can someone point me at the code that puts up the menu?



More information about the freebsd-questions mailing list