Initial configuration

System build process configuration

by ross at 17:28:06 on March 20, 2014

make.conf

Copy /usr/share/examples/etc/make.conf to /etc/make.conf.

diff -u /usr/share/examples/etc/make.conf /etc/make.conf

--- /usr/share/examples/etc/make.conf   2008-09-27 00:22:11.000000000 +0300
+++ /etc/make.conf      2008-09-27 13:09:39.000000000 +0300
@@ -43,6 +43,7 @@
 # (?= allows to buildworld for a different CPUTYPE.)
 #
 #CPUTYPE?=pentium3
+CPUTYPE?=core2
 #NO_CPU_CFLAGS=                # Don't add -march=<cpu> to CFLAGS automatically
 #NO_CPU_COPTFLAGS=     # Don't add -march=<cpu> to COPTFLAGS automatically
 #
@@ -57,6 +58,7 @@
 # explicitly turn it off when using compiling with the -O2 optimization level.
 #
 #CFLAGS= -O2 -fno-strict-aliasing -pipe
+CFLAGS= -O2 -fno-strict-aliasing -pipe
 #
 # CXXFLAGS controls the compiler settings used when compiling C++ code.
 # Note that CXXFLAGS is initially set to the value of CFLAGS.  If you wish
@@ -88,6 +90,7 @@
 # so can cause problems.
 #
 #COPTFLAGS= -O -pipe
+COPTFLAGS= -O -pipe
 #
 # Compare before install
 #INSTALL=install -C
@@ -270,3 +273,14 @@
 # /etc/mail/Makefile.  Defaults to 0640.
 #
 #SENDMAIL_MAP_PERMS=
+
+WITHOUT_X11=YES

If your host is behind NAT and you must use proxy add the following to /etc/make.conf:

FETCH_ENV=HTTP_PROXY=http://coffin.lan:3128/ FTP_PROXY=http://coffin.lan:3128/

Replace coffin.lan with the name of the proxy and 3128 with the port to use.

/etc/src.conf:

WITHOUT_PROFILE=YES

WITHOUT_PROFILE: Avoid compiling profiled libraries. This is optional and could be ommited. There are other options, see the man page: src.conf(1).

 

Comments