I like to run a minimal desktop on my aging hardware, so I've been reading up on /etc/make.conf optimizations / options / knobs, and would like to know if I have the right options.
Specifically, I want to use knobs to avoid applications pulling in unnecessary dependencies, programs, etc, thus causing slow compilation / updates, while maintaining stability. I'm not very interested in mucking around with optimizations because, as I understand it, they are more trouble than they are worth.
Crudely speaking, I use the base system + x11/xorg-minimal + x11-drivers/xf86-video-intel + x11-wm/spectrwm + editors/vim and a few other terminal-based applications.
So, I want to avoid QT, GTK, CUPS, any GUIs, etc. I want to "force" use of LPD and force programs like editors/vim to build without the GUI without breaking programs like graphics/mupdf.
So here is my /etc/make.conf:
*** EDIT
Just found a list of knobs: http://svn.freebsd.org/ports/head/KNOBS?view=markup
So I'm assuming it would be safe to add the following to my /etc/make.conf:
Specifically, I want to use knobs to avoid applications pulling in unnecessary dependencies, programs, etc, thus causing slow compilation / updates, while maintaining stability. I'm not very interested in mucking around with optimizations because, as I understand it, they are more trouble than they are worth.
Crudely speaking, I use the base system + x11/xorg-minimal + x11-drivers/xf86-video-intel + x11-wm/spectrwm + editors/vim and a few other terminal-based applications.
So, I want to avoid QT, GTK, CUPS, any GUIs, etc. I want to "force" use of LPD and force programs like editors/vim to build without the GUI without breaking programs like graphics/mupdf.
So here is my /etc/make.conf:
Code:
#/etc/make.conf
#Optimizations
CPUTYPE?=pentium4
###################
# DON'T USE THESE #
###################
#CFLAGS=-O2 -pipe -fno-strict-aliasing
#COPTFLAGS=-O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing
#OPTIMIZED_CFLAGS=YES
#BUILD_OPTIMIZED=YES
#WITH_CPUFLAGS=YES
#WITH_OPTIMIZED_CFLAGS=YES
#WITHOUT_DEBUG=YES
#BUILD_STATIC=YES
#NO_PROFILE=YES
#NO_INET6=YES
#Knobs
WITHOUT_CUPS=YES
WITH_LPR=YES
WITHOUT_X11=YES
## added by use.perl 2012-10-30 18:17:06
PERL_VERSION=5.12.4
*** EDIT
Just found a list of knobs: http://svn.freebsd.org/ports/head/KNOBS?view=markup
So I'm assuming it would be safe to add the following to my /etc/make.conf:
Code:
WITHOUT_QT=YES
WITHOUT_QT4=YES
WITHOUT_GTK=YES
WITHOUT_GTK1=YES
WITHOUT_GTK2=YES
WITHOUT_KDE=YES
WITHOUT_KDE4=YES
WITHOUT_GUI=YES