mk.conf.5 revision 1.3
$NetBSD: mk.conf.5,v 1.3 1999/02/21 14:23:29 hubertf Exp $

Copyright (c) 1999 The NetBSD Foundation, Inc.
All rights reserved.

This code is derived from software contributed to The NetBSD Foundation
by Luke Mewburn.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by Luke Mewburn.
4. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

.Dd February 17, 1999 .Dt MK.CONF 5 .Os NetBSD turn off hyphenation
.Sh NAME .Nm mk.conf .Nd make configuration file .Sh DESCRIPTION The .Nm file overrides various parameters used during the build of the system.

p Listed below are the .Nm variables that may be set, the values to which each may be set, a brief description of what each variable does, and a reference to relevant manual pages.

p .Ss NetBSD System variables l -tag -width OBJMACHINE t Sy BSDOBJDIR The real path to the system .Sq obj tree, so that .Sq "make obj" will work correctly. Default:

a /usr/obj . t Sy BSDSRCDIR The real path to the system sources, so that .Sq "make obj" will work correctly. Default:

a /usr/src . t Sy BUILD If defined, .Sq "make install" checks that the targets in the source directories are up-to-date and remakes them if they are out of date, instead of blindly trying to install out of date or non-existant targets. t Sy COPTS Extra options for the C compiler. Should be appended to (e.g., .Sy COPTS+=-g ) , rather than explicitly set. t Sy MANZ Install manual pages compressed with .Xr gzip 1 . t Sy MKCATPAGES If .Sq no , don't build or install the formatted manual pages. t Sy MKDOC If .Sq no , don't build or install the miscellaneous documentation. t Sy MKINFO If .Sq no , don't build or install the TeXinfo Info documentation. t Sy MKLINT If .Sq no , don't build or install the lint libraries. t Sy MKMAN If .Sq no , don't build or install the manual pages. Sets .Sy MKCATPAGES=no . t Sy MKNLS If .Sq no , don't build or install the NLS files. t Sy MKOBJ If .Sq no , don't create objdirs. t Sy MKPIC If .Sq no , don't build or install shared libraries. t Sy MKPICINSTALL If .Sq no , don't install the .Sq *_pic.a libraries. t Sy MKPROFILE If .Sq no , don't build or install the .Sq *_p.a profiling libraries. t Sy MKSHARE If .Sq no , set .Sy MKCATPAGES=no , .Sy MKDOC=no , .Sy MKINFO=no , .Sy MKMAN=no , .Sy MKNLS=no . t Sy OBJMACHINE If defined, creates objdirs of the form

a obj.<arch> , where .Sq <arch> is the current architecture (as per .Sq "uname -m" ) . t Sy UPDATE If defined, .Sq "make install" only installs targets that are more recently modified in the source directories that their installed counterparts. t Sy UVM The system is using the new UVM virtual memory subsystem. .El

p .Ss Pkgsrc system variables Please see also .Xr packages 7 for more variables used internally by the package system and

a /usr/pkgsrc/mk/mk.conf.example for package-specific examples. l -tag -width OBJMACHINE t Sy ACCEPTABLE_LICENSES Whitespace-delimited list of the types of license which are acceptable for installation (apart from standard "free" licenses such as Berkeley/CMU and GPL). Possible values: l -item -compact -offset indent t no-profit t GPL t shareware t no-commercial-use t fee-based-commercial-use .El Default: none t Sy CROSSBASE Directory where .Dq cross category packages will be installed. Default:

a ${LOCALBASE}/cross . t Sy FAILOVER_FETCH If defined, perform a checksum at .Sq make fetch time. If the checksum doesn't match the stored value, try to retrieve the file from the next site in the list. Default: not defined. t Sy LOCALBASE Directory where non-X-based packages will be installed. Default:

a /usr/pkg . t Sy PACKAGES Directories to store generated packages in. Default:

a /usr/pkgsrc/packages . t Sy PASSIVE_FETCH If defined, use passive mode .Xr ftp 1 when fetching files. Default: defined in NetBSD-current, unset else. t Sy USETBL If defined, run raw manual pages through .Xr tbl 1 before .Xr troff 1 when formatting manual pages. t Sy WRKOBJDIR If defined, build in the specified directory instead of the pkgsrc tree. t Sy X11BASE Directory where X11 is installed. Default:

a /usr/X11R6 . .El .Ss Variables only used inside the NetBSD packages collection l -tag -width OBJMACHINE t Sy AMANDA_USER Used by .Sq amanda to specify the login user and group responsible for backups. Default: .Sq backup . t Sy BOOTSTRAP_EGCS If defined, enable the .Sq egcs-current package's bootstrap compile (two-stage) mode. Default: not defined. t Sy DOMAIN_NAME Used by .Sq knews to set the domain name. Default: none. t Sy DONT_USE_IDEA Used by .Sq ssh to stop IDEA encryption. Default: not defined. t Sy EXTRA_DICT Used by .Sq ispell to specify an extra national dictionary. Default: not defined. t Sy GIMP_SMALL_DATA Used by .Sq gimp to specify installation of the small data set only. t Sy ISPELL_FR Used by .Sq ispell to specify a French/English dictionary. t Sy LANG Used by .Sq ispell to specify a national dictionary. Possible values: .Sq british , not defined. Default: not defined. t Sy LIBWRAP_FWD If defined, make .Sq libwrap also compare against forwards. Possible values: .Sq YES , not defined. Default: not defined. t Sy M68060 Used by packages such as .Sq pgp2 and .Sq ssh which have fast 68020/030/040 assembler routines for multiprecision arithmetic, use the 32/64bit mul/div instruction. These instructions are software emulated on the 68060, thus very slow. Set this variable to .Sq YES when compiling for the 68060 CPU. Possible values: .Sq YES , not defined. Default: not defined. t Sy MAKE_EBONES If defined, .Sq fetchmail and .Sq zephyr use the non-USA Kerberos-compatible subsystem. Default: not defined. t Sy MAKE_KERBEROS4 If defined, .Sq fetchmail uses the Kerberos subsystem. Default: not defined. t Sy MUTT_INTERNATIONAL If defined, .Sq mutt is installeduse the Kerberos subsystem. Possible values: .Sq YES , not defined. Default: not defined. t Sy NMH_MTA Define which MTA that .Sq nmh uses. Possible values: .Sq sendmail , .Sq smtp . Default: .Sq smtp . t Sy NOPORTDOCS If defined, prevent installation of any documentation. Default: not defined. t Sy NOMANINSTALL If defined, don't install manual pages for .Sq expect . Default: not defined. t Sy PAPERSIZE Default paper size for packages. Possible values: .Sq A4 , .Sq Letter , .Sq Letterdj . Default: none t Sy PATCH_DEBUG If defined, enable debugging in .Sq exmh . Default: not defined t Sy PGGROUP Used by .Sq postgresql as the group name of the database administrator. Possible values: any group Default: .Sq ingres . t Sy PGUSER Used by .Sq postgresql as the user name of the database administrator. Possible values: any user Default: .Sq pgsql . t Sy RCS_LOCALID Used by .Sq cvs-current as the value to expand .Xo .Sq $ Ns Local Ns $ .Xc to. Default: none t Sy SSH_CONF_DIR Define the location of the .Sq ssh configuration directory. Default:

a /etc . t Sy SSH_SUID Used by .Sq ssh to enable setuid installation. Possible values: .Sq YES , .Sq NO . Default: .Sq NO . t Sy USE_MENUS If defined, build in support for menus in .Sq xvile . Defined: not defined. t Sy USE_MULE If defined, build the MULE extensions in .Sq xemacs . Defined: not defined. t Sy USE_RSAREF2 Use the RSA reference package. Possible values: .Sq YES (USA domestic only), .Sq NO . Default: not defined. t Sy USE_SOCKS If defined, specify version of SOCKS firewall to support. Possible values: .Sq 4 , .Sq 5 , not defined. Default: not defined. t Sy USE_XFACE If defined, build in support for .Sq xface into .Sq xemacs. Default: not defined. t Sy WINDOWMAKER_OPTIONS Options for building windowmaker package. Used to add support for GNONE, KDE or OPEN LOOK(tm) and to avoid redundancies with KDE. Possible values: .Sq gnome , .Sq kde , .Sq openlook , .Sq lite . Default: `gnome kde' t Sy WINDOWMAKER_THEMES Used by the .Sq wm-themes package to specify which themes to install. Possible values: refer to .Sq http://wm.themes.org . Default: .Sq FreeBSD-theme . t Sy ZIP_ENCRYPTION If defined, add encryption code to .Sq zip , .Sq zip1 , and .Sq unzip . Default: not defined. .El .Sh FILES l -tag -width /etc/mk.conf t Pa /etc/mk.conf This file. t Pa /usr/pkgsrc/mk/mk.conf.example Further documentation of the pkgsrc overrides. t Pa /usr/pkgsrc/Packages.txt Documentation on the packages system. .El .Sh SEE ALSO .Xr make 1 , .Xr packages 7 .Sh HISTORY The .Nm file appeared in .Nx 1.2 .