Skip to content

Instantly share code, notes, and snippets.

@clemensg
Last active June 1, 2020 21:37
Show Gist options
  • Save clemensg/8827704 to your computer and use it in GitHub Desktop.
Save clemensg/8827704 to your computer and use it in GitHub Desktop.
My FreeBSD make.conf
# /etc/make.conf
# Clemens Gruber, 2017
#
# Nearby mirror
#MASTER_SITE_OVERRIDE="ftp://ftp.at.freebsd.org/pub/FreeBSD/ports/distfiles/"
#MASTER_SITE_OVERRIDE="ftp://ftp.de.freebsd.org/pub/FreeBSD/ports/distfiles/"
# Build
MAKE_JOBS_NUMBER?=8
# Optimizations
CPUTYPE?=native
OPTIONS_SET=OPTIMIZED_CFLAGS CPUFLAGS
# Headless server options
OPTIONS_SET+=ICONV
OPTIONS_UNSET=CUPS DEBUG DOCS FONTCONFIG NLS X11
WITHOUT_MODULES=sound ntfs linux
WITHOUT_X11=yes
# Disable sendmail!
NO_SENDMAIL=true
# Fresh OpenSSL from Ports
DEFAULT_VERSIONS+=ssl=openssl
# Other options
DEFAULT_VERSIONS+=ruby=2.4
@xmacan
Copy link

xmacan commented Oct 30, 2018

WITHOUT_X11=yes is deprecated, use
OPTIONS_UNSET=X11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment