Re:Debian developer prompted to revisit FreeBSD after 20 years
by Freaky on Wednesday February 18, 2015 @01:21PM
(#9070042)
Add OPTIONS_UNSET=gnome to /etc/make.conf, plus whatever other options you want excluded system-wide. Ditto OPTIONS_SET. You can override for specific ports with ${PORTNAME}_SET/_UNSET too.
Re:Debian developer prompted to revisit FreeBSD after 20 years
by weland on Thursday February 19, 2015 @04:14AM
(#9073134)
Ha! Yes, this would make it a lot easier, since I often end up disabling the same things anyway. Thank you!
Re:Debian developer prompted to revisit FreeBSD after 20 years
by xenophonf on Wednesday February 18, 2015 @02:40PM
(#9070512)
When I have to do it manually, I usually build ports with -DBATCH=yes because I trust the defaults. The config-recursive target is a good one to know, but if I have to tweak package build settings, nowadays I'll set the appropriate OptionsNG knobs ahead of time in /etc/make.conf.
(I rarely install directly from ports, though. Instead, I use Poudriere to make my own package repository, and I have a version of make.conf set up for Poudriere that includes all of my package configuration tweaks.)
Re:Debian developer prompted to revisit FreeBSD after 20 years
by rvanlaar on Wednesday February 18, 2015 @06:25AM
(#9067940)
You could run:
make config-recursive
a couple of times to do the configuration up front.
See also: https://www.freebsd.org/doc/handbook/ports-using.html
I could probably script it to just go ahead with the default dependencies, but that gives terrible results (I try to install this little console tool and now it's pulling gnome-something-something because the console tool can be integrated with ImageMagick and that's compiled with support for this-weird-format which is provided by this-weird-lib which is part of the Gnome project and now I'm slowly compiling half the packages in Gnome even though I don't use a single program from the Gnome project).