make.conf revision 56553
150472Speter# $FreeBSD: head/share/examples/etc/make.conf 56553 2000-01-24 20:16:41Z markm $
21664Sphk#
33023Srgrimes# This file, if present, will be read by make (see /usr/share/mk/sys.mk).
43023Srgrimes# It allows you to override macro definitions to make without changing
53023Srgrimes# your source tree, or anything the source tree installs.
61664Sphk#
73023Srgrimes# This file must be in valid Makefile syntax.
83023Srgrimes#
91664Sphk# You have to find the things you can put here in the Makefiles and 
101664Sphk# documentation of the source tree.
111664Sphk#
121664Sphk# One, and probably the most common, use could be:
131664Sphk#
1429281Sjkh#CFLAGS= -O -pipe
151664Sphk#
161664Sphk#
1742325Sobrien# Avoid compiling profiled libraries
189509Srgrimes#NOPROFILE=	true
191664Sphk#
2042325Sobrien# Compare before install
2135222Sache#INSTALL=install -C
2235222Sache#
2334890Sdima# To avoid building the suid perl
2434890Sdima#NOSUIDPERL=	true
2534651Sjkh#
2650883Smarkm# To build perl with thread support
2750883Smarkm#PERL_THREADED=	true
2850883Smarkm#
2951299Speter# To avoid building various parts of the base system:
3035849Sphk#NO_SENDMAIL=	true
3151299Speter#NO_CVS=	true
3235206Sphk#
3329281Sjkh# To compile just the kernel with special optimisations, you should use
3429281Sjkh# this instead of CFLAGS (which is not applicable to kernel builds anyway):
351684Scsgr#
368024Sjkh#COPTFLAGS= -O -pipe
378024Sjkh#
387210Sphk# To compile and install the 4.4 lite libm instead of the default use:
391684Scsgr#
407210Sphk#WANT_CSRG_LIBM=	yes
411684Scsgr#
421684Scsgr# If you do not want unformatted manual pages to be compressed
431684Scsgr# when they are installed:
441684Scsgr#
459509Srgrimes#NOMANCOMPRESS=	true
461697Sache#
471697Sache#
4820847Speter# If you want the "compat" shared libraries installed as part of your normal
4920847Speter# builds, uncomment these:
5020847Speter#
5120847Speter#COMPAT1X=	yes
5220847Speter#COMPAT20=	yes
5320847Speter#COMPAT21=	yes
5447318Sobrien#COMPAT22=	yes
5547430Sobrien#COMPAT3X=	yes
5620847Speter#
5720847Speter#
5814403Sasami# If you do not want additional documentation (some of which are
5914403Sasami# a few hundred KB's) for ports to be installed:
6014403Sasami#
6114403Sasami#NOPORTDOCS=	true
6214403Sasami#
6314403Sasami#
641697Sache# Default format for system documentation, depends on your printer.
651697Sache# Set this to "ascii" for simple printers or screen
661697Sache#
6725424Sandreas#PRINTERDEVICE=	ps
681733Sadam#
691733Sadam#
7014102Sadam# How long to wait for a console keypress before booting the default kernel.
7114102Sadam# This value is approximately in milliseconds. Keypresses are accepted by the
7214102Sadam# BIOS before booting from disk, making it possible to give custom boot
7314102Sadam# parameters even when this is set to 0.
741733Sadam#
751740Sadam#BOOTWAIT=0
763023Srgrimes#BOOTWAIT=30000
771733Sadam#
7818927Spst# By default, the system will always use the keyboard/video card as system
7926522Sbde# console.  However, the boot blocks may be dynamically configured to use a
8026522Sbde# serial port in addition to or instead of the keyboard/video console.
811733Sadam#
8218927Spst# By default we use COM1 as our serial console port *if* we're going to use
8349190Snik# a serial port as our console at all.  Alter as necessary.
8418927Spst#
8549190Snik#   COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8
8649190Snik#
8718928Spst#BOOT_COMCONSOLE_PORT=	0x3F8
8818927Spst#
8926522Sbde# The default serial console speed is 9600.  Set the speed to a larger value
9026522Sbde# for better interactive response.
9118927Spst#
9226522Sbde#BOOT_COMCONSOLE_SPEED=	115200
9318927Spst#
9418927Spst#
954224Sphk# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
9615334Sasami# If you have a XFree86 from before 3.0 that has the X distribution in
9715334Sasami# /usr/X386, you want to uncomment this.
983023Srgrimes#
994224Sphk#X11BASE=	/usr/X386
1003023Srgrimes#
1013023Srgrimes#
10215212Sasami# If you have Motif on your system, uncomment this.
10315212Sasami#
10415212Sasami#HAVE_MOTIF=	yes
10535221Sache#MOTIF_STATIC=  yes
10615212Sasami#
10715334Sasami# If the default location of the Motif library (specified below) is NOT
10815334Sasami# appropriate for you, uncomment this and change it to the correct value.
10915334Sasami# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
11015212Sasami#
11115334Sasami#MOTIFLIB=	-L${X11BASE}/lib -lXm
11215212Sasami#
11315212Sasami#
11455600Ssumikawa# If you use IPv6-ready kernel and want to enbale IPv6 support on certain
11555600Ssumikawa# packages, uncomment this.
11655600Ssumikawa#USE_INET6=	yes
11755600Ssumikawa#
11855600Ssumikawa#
11929949Sjkh# If you're resident in the USA, this will help various ports to determine
12029949Sjkh# whether or not they should attempt to comply with the various U.S.
12129949Sjkh# export regulations on certain types of software which do not apply to
12229949Sjkh# anyone else in the world.
12322638Sjkh#
12429949Sjkh#USA_RESIDENT=		YES
12529949Sjkh#
12635222Sache# Next one will help ports developers to debug
12729949Sjkh#
12835222Sache#FORCE_PKG_REGISTER=    YES
12935222Sache#
13035222Sache#
13136263Sjkh# Port master sites.
13224951Sasami#
13324951Sasami# If you want your port fetches to go somewhere else than the default
13424951Sasami# (specified below) in case the distfile/patchfile was not found,
13524951Sasami# uncomment this and change it to a location nearest you.  (Don't
13624951Sasami# remove the "/${DIST_SUBDIR}/" part.)
13724951Sasami#
13824951Sasami#MASTER_SITE_BACKUP?=	\
13942876Sasami#	ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
14024951Sasami#
14124951Sasami# If you want your port fetches to check the above site first (before
14224951Sasami# the MASTER_SITES specified in the port Makefiles), uncomment the
14324951Sasami# line below.  You can also change the right side to point to wherever 
14424951Sasami# you want.
14524951Sasami#
14624951Sasami#MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
14724951Sasami#
14824951Sasami# Some ports use a special variable to point to a collection of
14924951Sasami# mirrors of well-known software archives.  If you have a mirror close
15024951Sasami# to you, uncomment any of the following lines and change it to that
15133880Sfenner# address.  (Don't remove the "/%SUBDIR%/" part.)
15224951Sasami#
15324951Sasami# Note: the right hand sides of the following lines are only for your
15424951Sasami# information.  For a full list of default sites, take a look at
15524951Sasami# bsd.port.mk.
15624951Sasami#
15733880Sfenner#MASTER_SITE_XCONTRIB=	ftp://ftp.x.org/contrib/%SUBDIR%/
15833880Sfenner#MASTER_SITE_GNU=	ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/
15933880Sfenner#MASTER_SITE_PERL_CPAN=	ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
16033880Sfenner#MASTER_SITE_TEX_CTAN=	ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
16147726Sbillf#MASTER_SITE_SUNSITE=	ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/
16242876Sasami#MASTER_SITE_KDE=	ftp://ftp.kde.org/pub/kde/%SUBDIR%/
16342876Sasami#MASTER_SITE_COMP_SOURCES=	ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/
16442876Sasami#MASTER_SITE_GNOME=	ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/
16544748Sbillf#MASTER_SITE_AFTERSTEP=	ftp://ftp.afterstep.org/%SUBDIR%/
16644748Sbillf#MASTER_SITE_WINDOWMAKER=	ftp://ftp.windowmaker.org/pub/%SUBDIR%/
16724951Sasami#
16824951Sasami#
1693241Scsgr# Kerberos IV
17029931Smarkm# If you want KerberosIV (KTH eBones), define this:
1713241Scsgr#
17229931Smarkm#MAKE_KERBEROS4=	yes
17310758Sache#
17410758Sache#
17556553Smarkm# Kerberos 5
17656553Smarkm# If you want KerberosIV (KTH Heimdal), define this:
17756553Smarkm# ** WARNING **
17856553Smarkm# ** WARNING ** This is very experimental at this stage. If you
17956553Smarkm# ** WARNING ** need stable Kerberos5, rather use the port(s).
18056553Smarkm# ** WARNING **
18156553Smarkm#
18256553Smarkm#MAKE_KERBEROS5=	yes
18356553Smarkm#
18456553Smarkm#
18538003Sdima# Kerberos5
18656553Smarkm# If you want to install MIT Kerberos5 port somewhere other than /usr/local,
18756553Smarkm# define this (this is also used to tell ssh1 that kerberos is needed):
18838003Sdima#
18956553Smarkm#KRB5_HOME=		/usr/local
19038003Sdima#
19138003Sdima#
19237162Sjkh# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
19337162Sjkh# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
19437162Sjkh# information on CVSup and these files).  To use, do "make update" in /usr/src.
19510758Sache#
19610758Sache#SUP_UPDATE=     yes
19718716Sache#
19820545Sache#SUP=            /usr/local/bin/cvsup
19949777Ssheldonh#SUPFLAGS=       -g -L 2
20018716Sache#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
20118716Sache#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
20247651Sbillf#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
20354670Sbillf#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
20424225Sjoerg#
20524225Sjoerg# top(1) uses a hash table for the user names.  The size of this hash
20624225Sjoerg# can be tuned to match the number of local users.  The table size should
20724225Sjoerg# be a prime number approximately twice as large as the number of lines in
20824225Sjoerg# /etc/passwd.  The default number is 20011.
20924225Sjoerg#
21024225Sjoerg#TOP_TABLE_SIZE= 101
211