Skip to content

Instantly share code, notes, and snippets.

@YATV
Forked from clemensg/etc_make.conf
Last active January 16, 2017 06:53
Show Gist options
  • Save YATV/41cc85b5f1f5ca140c61d157f094791a to your computer and use it in GitHub Desktop.
Save YATV/41cc85b5f1f5ca140c61d157f094791a to your computer and use it in GitHub Desktop.
My FreeBSD make.conf
# /etc/make.conf
## General
# Note: clang/llvm is already enabled by default in FreeBSD 10
# WITH_PKGNG=yes
OPTIONS_SET=ICONV
WITHOUT_DEBUG=YES
NO_PROFILE=YES
NO_WERROR=
WERROR=
## Mirror override
#MASTER_SITE_OVERRIDE = "ftp://ftp.at.freebsd.org/pub/FreeBSD/ports/distfiles/"
#MASTER_SITE_OVERRIDE = "ftp://ftp.de.freebsd.org/pub/FreeBSD/ports/distfiles/"
## Performance
# Intel Ivy Bridge CPU
# CPUTYPE?= core-avx-i
# Intel Haswell CPU
# CPUTYPE?= core-avx2
# General
MAKE_JOBS_NUMBER?=8
OPTIMIZED_CFLAGS=YES
BUILD_OPTIMIZED=YES
WITH_CPUFLAGS=YES
WITH="OPTIMIZED_CFLAGS"
OPTIONS_SET=OPTIMIZED_CFLAGS
## Server options
## (headless, no GUI, no X11, no sound, ..)
WITHOUT_X11=YES
WITHOUT_CUPS=yes
WITHOUT_FONTCONFIG=yes
WITHOUT="DOCS"
WITHOUT_MODULES = sound ntfs linux
OPTIONS_UNSET= CUPS NLS DOCS
## GUI options
# Note: Do not forget to comment out server specific options above,
# if you enable/uncomment the following GUI specific options!
# WITH_NEW_XORG=YES
# OPTIONS_UNSET = NLS DOCS
# WITH_KMS=YES
# WITH_NVIDIA_GL=YES
# WITH_NVIDIA=YES
# WITHOUT_NOUVEAU=YES
## Other options
# If Ruby is necessary, use 2.0 and not 1.9
#DEFAULT_VERSIONS=ruby=2.0
DEFAULT_VERSIONS+=perl5=5.24
# Disable sendmail!
NO_SENDMAIL=true
# Fresh OpenSSL from Ports
DEFAULT_VERSIONS+=ssl=openssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment