Skip to content

Instantly share code, notes, and snippets.

@clemensg
Last active June 1, 2020 21:37
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • 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
@kiela
Copy link

kiela commented Sep 6, 2015

WITH_PKGNG=yes is not needed in FreeBSD 10.x

@YATV
Copy link

YATV commented Jul 20, 2016

Using WITH_OPENSSL_PORT in make.conf is deprecated, replace it with DEFAULT_VERSIONS+=ssl=openssl in your make.conf

@YATV
Copy link

YATV commented Jul 20, 2016

You are using the following deprecated options: NOPORTDOCS
If you added them on the command line, you should replace them by
WITH="" WITHOUT="DOCS"

If they are global options set in your make.conf, you should replace them with:
OPTIONS_UNSET=DOCS

@YATV
Copy link

YATV commented Jul 20, 2016

You are using the following deprecated options: WITH_OPTIMIZED_CFLAGS
If you added them on the command line, you should replace them by
WITH="OPTIMIZED_CFLAGS" WITHOUT=""

If they are global options set in your make.conf, you should replace them with:
OPTIONS_SET=OPTIMIZED_CFLAGS

@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