1786aa69aSBen Smithurst.\" Copyright (c) 2000 2786aa69aSBen Smithurst.\" Mike W. Meyer 3786aa69aSBen Smithurst.\" 4786aa69aSBen Smithurst.\" Redistribution and use in source and binary forms, with or without 5786aa69aSBen Smithurst.\" modification, are permitted provided that the following conditions 6786aa69aSBen Smithurst.\" are met: 7786aa69aSBen Smithurst.\" 1. Redistributions of source code must retain the above copyright 8786aa69aSBen Smithurst.\" notice, this list of conditions and the following disclaimer. 9786aa69aSBen Smithurst.\" 2. Redistributions in binary form must reproduce the above copyright 10786aa69aSBen Smithurst.\" notice, this list of conditions and the following disclaimer in the 11786aa69aSBen Smithurst.\" documentation and/or other materials provided with the distribution. 12786aa69aSBen Smithurst.\" 13786aa69aSBen Smithurst.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 14786aa69aSBen Smithurst.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15786aa69aSBen Smithurst.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16786aa69aSBen Smithurst.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE 17786aa69aSBen Smithurst.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18786aa69aSBen Smithurst.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19786aa69aSBen Smithurst.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20786aa69aSBen Smithurst.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21786aa69aSBen Smithurst.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22786aa69aSBen Smithurst.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23786aa69aSBen Smithurst.\" SUCH DAMAGE. 24786aa69aSBen Smithurst.\" 25786aa69aSBen Smithurst.\" $FreeBSD$ 26786aa69aSBen Smithurst.\" 27d7b336c0SRuslan Ermilov.Dd November 3, 2000 28786aa69aSBen Smithurst.Dt MAKE.CONF 5 29786aa69aSBen Smithurst.Os 30786aa69aSBen Smithurst.Sh NAME 31786aa69aSBen Smithurst.Nm make.conf 32786aa69aSBen Smithurst.Nd system build information. 33786aa69aSBen Smithurst.Sh DESCRIPTION 34786aa69aSBen SmithurstThe file 35786aa69aSBen Smithurst.Nm 36786aa69aSBen Smithurstcontains settings that control the compilation of the FreeBSD sources 37786aa69aSBen Smithurstand ported applications. The file 38786aa69aSBen Smithurst.Nm 39786aa69aSBen Smithurstis generally created by the system administrator when the values need 40786aa69aSBen Smithurstto be changed from their defaults. 41786aa69aSBen Smithurst.Pp 42786aa69aSBen SmithurstThe purpose of 43786aa69aSBen Smithurst.Nm 44786aa69aSBen Smithurstis not to run commands or perform compilation actions 45786aa69aSBen Smithurstdirectly. Instead, it is included by the 46786aa69aSBen Smithurstvarious makefiles in 47786aa69aSBen Smithurst.Pa /usr/src, 48786aa69aSBen Smithurst.Pa /usr/ports 49786aa69aSBen Smithurstand 50786aa69aSBen Smithurst.Pa /usr/doc 51786aa69aSBen Smithurstwhich conditionalize their 52786aa69aSBen Smithurstinternal actions according to the settings found there. 53786aa69aSBen Smithurst.Pp 54786aa69aSBen SmithurstThe 55786aa69aSBen Smithurst.Pa /etc/make.conf 56786aa69aSBen Smithurstfile is included from the the appropriate Makefile 57786aa69aSBen Smithurstwhich specifies the default settings for all the available options. 58786aa69aSBen SmithurstOptions need only be specified in 59786aa69aSBen Smithurst.Pa /etc/make.conf 60786aa69aSBen Smithurstwhen the system administrator wishes to override these defaults. 61786aa69aSBen Smithurst.Pp 62786aa69aSBen SmithurstThe build procedures occur in four broad areas: the world, the kernel, 63786aa69aSBen Smithurstdocumentations and ports. Variables set in 64786aa69aSBen Smithurst.Nm 65786aa69aSBen Smithurstmay be applicable during builds in one, two, or all four of these 66786aa69aSBen Smithurstareas. They may be specified for a particular build via the 67786aa69aSBen Smithurst.Op -D 68786aa69aSBen Smithurstoption of 69786aa69aSBen Smithurst.Xr make 1 . 70786aa69aSBen Smithurst.Pp 71786aa69aSBen SmithurstThe following lists provides a name and short description for each 72786aa69aSBen Smithurstvariable you can use during the indicated builds. The values of 73786aa69aSBen Smithurstvariables flagged as 74786aa69aSBen Smithurstbool 75786aa69aSBen Smithurstare ignored; the variable being 76786aa69aSBen Smithurstset at all (even to 77786aa69aSBen Smithurst.Li Dq FALSE 78786aa69aSBen Smithurstor 79786aa69aSBen Smithurst.Li Dq NO ) 80786aa69aSBen Smithurstcause it to 81786aa69aSBen Smithurstbe treated as if it were set. 82786aa69aSBen Smithurst.Pp 83786aa69aSBen SmithurstThe following list provides a name and short description for variables 84786aa69aSBen Smithurstthat are used for all builds, or are used by the 85786aa69aSBen Smithurstmakefiles for things other than builds. 86786aa69aSBen Smithurst.Bl -tag -width Ar 87786aa69aSBen Smithurst.It Ar CFLAGS 88786aa69aSBen Smithurst(str) Controls the compiler setting when compiling C code. 89786aa69aSBen SmithurstOptimization levels above 903136363fSRuslan Ermilov.Op -O ( -O2 , ...\& ) 91786aa69aSBen Smithurstare not supported. BDECFLAGS 92786aa69aSBen Smithurstis provided as a set of gcc settings suggested by Bruce Evans 938786063fSNik Claytonfor developing and testing changes. They can be used by: 94786aa69aSBen Smithurst.Bd -literal -offset indent 95786aa69aSBen SmithurstCXFLAGS+=${BDECFLAGS} 96786aa69aSBen Smithurst.Ed 97786aa69aSBen Smithurst.It Ar CVS_UPDATE 98786aa69aSBen Smithurst(bool) Set this to use cvs to update your ports with 99786aa69aSBen Smithurst.Cm "make update" . 100786aa69aSBen Smithurst.It Ar CXXFLAGS 101786aa69aSBen Smithurst(str) Controls the compiler settings when compiling C++ code. 102786aa69aSBen SmithurstCXXFLAGS is initially set to the value of CFLAGS. If you want to 103786aa69aSBen Smithurstadd to the CXXFLAGS value, use 104786aa69aSBen Smithurst.Dq Li += 105786aa69aSBen Smithurstinstead of 106786aa69aSBen Smithurst.Dq Li = . 107786aa69aSBen Smithurst.It Ar INSTALL 108786aa69aSBen Smithurst(str) the default install command. To have commands compared before doing 109786aa69aSBen Smithurstthe install, use 110786aa69aSBen Smithurst.Bd -literal -offset indent 111786aa69aSBen SmithurstINSTALL="install -C" 112786aa69aSBen Smithurst.Ed 113786aa69aSBen Smithurst.It Ar LOCAL_DIRS 114786aa69aSBen Smithurst(str) List any directories that should be entered when doing 115786aa69aSBen Smithurstmake's in 116786aa69aSBen Smithurst.Pa /usr/src 117786aa69aSBen Smithurstin this variable. 118786aa69aSBen Smithurst.It Ar MTREE_FOLLOWS_SYMLINKS 119786aa69aSBen Smithurst(str) Set this to 120786aa69aSBen Smithurst.Dq Li -L 121786aa69aSBen Smithurstto cause mtree to follow symlinks. 122786aa69aSBen Smithurst.It Ar NO_DOCUPDATE 123786aa69aSBen Smithurst(bool) Set this to not update the doc tree during 124786aa69aSBen Smithurst.Cm "make update" . 125786aa69aSBen Smithurst.It Ar NO_PORTSUPDATE 126786aa69aSBen Smithurst(bool) Set this to not update the ports tree during 127786aa69aSBen Smithurst.Cm "make update" . 128786aa69aSBen Smithurst.It Ar SUP_UPDATE 129786aa69aSBen Smithurst(bool) Set this to use cvsup to update your ports with 130786aa69aSBen Smithurst.Cm "make update" . 131786aa69aSBen Smithurst.It Ar SUP 132786aa69aSBen Smithurst(str) The location of the cvsup command for 133786aa69aSBen Smithurst.Cm "make update" . 134786aa69aSBen Smithurst.It Ar SUPFLAGS 135786aa69aSBen Smithurst(str) The flag for the sup command when doing 136786aa69aSBen Smithurst.Cm "make update" . 137786aa69aSBen SmithurstThis defaults to 138786aa69aSBen Smithurst.Op "-g -L 2" . 139786aa69aSBen Smithurst.It Ar SUPHOST 140786aa69aSBen Smithurst(str) The hostname of the sup server to use when doing 141786aa69aSBen Smithurst.Cm "make update" . 142786aa69aSBen Smithurst.It Ar SUPFILE 143786aa69aSBen Smithurst(str) The first supfile to use when doing a 144786aa69aSBen Smithurst.Cm "make update" . 145786aa69aSBen SmithurstThis defaults to 146786aa69aSBen Smithurst.Pa /usr/share/examples/cvsup/standard-supfile . 147786aa69aSBen Smithurst.It Ar SUPFILE1 148786aa69aSBen Smithurst(str) The second supfile to use when doing a 149786aa69aSBen Smithurst.Cm "make update" . 150786aa69aSBen SmithurstThis defaults to 151786aa69aSBen Smithurst.Pa /usr/share/examples/cvsup/secure-supfile . 152786aa69aSBen Smithurst.It Ar SUPFILE2 153786aa69aSBen Smithurst(str) The third supfile to use when doing a 154786aa69aSBen Smithurst.Cm "make update" . 155786aa69aSBen SmithurstThis defaults to 156786aa69aSBen Smithurst.Pa /usr/share/examples/cvsup/secure-supfile . 157786aa69aSBen Smithurst.It Ar PORTSSUPFILE 158786aa69aSBen Smithurst(str) The ports supfile to use when doing a 159786aa69aSBen Smithurst.Cm "make update" . 160786aa69aSBen SmithurstThis defaults to 161786aa69aSBen Smithurst.Pa /usr/share/examples/cvsup/ports-supfile . 162786aa69aSBen Smithurst.It Ar DOCSUPFILE 163786aa69aSBen Smithurst(str) The documentation supfile to use when doing a 164786aa69aSBen Smithurst.Cm "make update" . 165786aa69aSBen SmithurstThis defaults to 166786aa69aSBen Smithurst.Pa /usr/share/examples/cvsup/doc-supfile . 167786aa69aSBen Smithurst.El 168786aa69aSBen Smithurst.Pp 169786aa69aSBen SmithurstThe following list provides a name and short description for variables 170786aa69aSBen Smithurstthat are only used doing a kernel build: 171786aa69aSBen Smithurst.Bl -tag -width Ar 172786aa69aSBen Smithurst.It Ar BOOT_COMCONSOLE_PORT 173786aa69aSBen Smithurst(str) The port address to use for the console if the boot blocks have 174786aa69aSBen Smithurstbeen configured to use a serial console instead of the keyboard/video card. 175786aa69aSBen Smithurst.It Ar BOOT_COMCONSOLE_SPEED 176786aa69aSBen Smithurst(int) The baud rate to use for the console if the boot blocks have 177786aa69aSBen Smithurstbeen configured to use a serial console instead of the keyboard/video card. 178786aa69aSBen Smithurst.It Ar BOOTWAIT 179786aa69aSBen Smithurst(int) Controls the amount of time the kernel waits for a console keypress 180786aa69aSBen Smithurstbefore booting the default kernel. The value is approximately 181786aa69aSBen Smithurstmilliseconds. Keypresses are accepted by the BIOS before booting from disk, 182786aa69aSBen Smithurstmaking it possible to give custom boot parameters even when this is 183786aa69aSBen Smithurstset to 0. 184786aa69aSBen Smithurst.It Ar COPTFLAGS 185786aa69aSBen Smithurst(str) Controls the compiler settings when building the 186786aa69aSBen Smithurstkernel. Optimization levels above 1873136363fSRuslan Ermilov.Op -O ( -O2 , ...\& ) 1883136363fSRuslan Ermilovare not supported. 1896164dd81SBen Smithurst.It Ar KERNEL 1906164dd81SBen Smithurst(str) Controls which kernel configurations will be 1916164dd81SBen Smithurstbuilt by 1926164dd81SBen Smithurst.Cm "${MAKE} buildkernel" 1936164dd81SBen Smithurstand installed by 1946164dd81SBen Smithurst.Cm "${MAKE} installkernel" . 1956164dd81SBen SmithurstFor example, 1966164dd81SBen Smithurst.Bd -literal -offset indent 1976164dd81SBen SmithurstKERNEL=MINE DEBUG GENERIC OTHERMACHINE 1986164dd81SBen Smithurst.Ed 1996164dd81SBen Smithurstwill build the the kernels specified by the config files 2006164dd81SBen Smithurst.Pa MINE , DEBUG , GENERIC , 2016164dd81SBen Smithurstand 2026164dd81SBen Smithurst.Pa OTHERMACHINE , 2036164dd81SBen Smithurstand install the kernel specified by the config file 2046164dd81SBen Smithurst.Pa MINE . 2056164dd81SBen SmithurstIt defaults to 2066164dd81SBen Smithurst.Pa GENERIC . 207786aa69aSBen Smithurst.It Ar NO_KERNELCONFIG 208786aa69aSBen Smithurst(bool) Set this to skip running 209786aa69aSBen Smithurst.Xr config 8 210786aa69aSBen Smithurstduring 211786aa69aSBen Smithurst.Cm "${MAKE} buildkernel" . 212786aa69aSBen Smithurst.It Ar NO_KERNELDEPEND 213786aa69aSBen Smithurst(bool) Set this to skip running 214786aa69aSBen Smithurst.Cm "${MAKE} depend" 215786aa69aSBen Smithurstduring 216786aa69aSBen Smithurst.Cm "${MAKE} buildkernel" . 217786aa69aSBen Smithurst.It Ar NO_MODULES 218786aa69aSBen Smithurst(bool) Set to not build modules with the kernel. 219786aa69aSBen Smithurst.El 220786aa69aSBen Smithurst.Pp 221786aa69aSBen SmithurstThe following list provides a name and short description for variables 222786aa69aSBen Smithurstthat are used during the world build: 223786aa69aSBen Smithurst.Bl -tag -width Ar 224786aa69aSBen Smithurst.It Ar COMPAT1X 225786aa69aSBen Smithurst(bool) Set to install the 226786aa69aSBen Smithurst.Fx 227786aa69aSBen Smithurst1 compatibility libraries. 228786aa69aSBen Smithurst.It Ar COMPAT20 229786aa69aSBen Smithurst(bool) Set to install the 230786aa69aSBen Smithurst.Fx 2.0 231786aa69aSBen Smithurstcompatibility libraries. 232786aa69aSBen Smithurst.It Ar COMPAT21 233786aa69aSBen Smithurst(bool) Set to install the 234786aa69aSBen Smithurst.Fx 2.1 235786aa69aSBen Smithurstcompatibility libraries. 236786aa69aSBen Smithurst.It Ar COMPAT22 237786aa69aSBen Smithurst(bool) Set to install the 238786aa69aSBen Smithurst.Fx 2.2 239786aa69aSBen Smithurstcompatibility libraries. 240786aa69aSBen Smithurst.It Ar COMPAT3X 241786aa69aSBen Smithurst(bool) Set to install the 242786aa69aSBen Smithurst.Fx 243786aa69aSBen Smithurst3 compatibility libraries. 244786aa69aSBen Smithurst.It Ar ENABLE_SUIDPERL 245786aa69aSBen Smithurst(bool) Set to enable the installation of an suid perl binary. 246786aa69aSBen Smithurst.It Ar FETCH_CMD 247786aa69aSBen Smithurst(str) Command to use to fetch files. Normally 248786aa69aSBen Smithurst.Xr fetch 1 . 249786aa69aSBen Smithurst.It Ar MAKE_IDEA 250786aa69aSBen Smithurst(bool) Set to build the IDEA encryption code. This code is patented in 251786aa69aSBen Smithurstthe USA and many european countries. It is 252786aa69aSBen Smithurst.Em "YOUR RESPONSIBILITY" 253786aa69aSBen Smithurstto determine if you can legally use IDEA. 254786aa69aSBen Smithurst.It Ar MAKE_KERBEROS4 255786aa69aSBen Smithurst(bool) Set this to build KerberosIV (KTH eBones). 256786aa69aSBen Smithurst.It Ar MAKE_KERBEROS5 257786aa69aSBen Smithurst(bool) Set this to build Kerberos5 (KTH Heimdal). 258786aa69aSBen Smithurst.Em WARNING! 259786aa69aSBen SmithurstThis is still experimental code. If you need stable Kerberos5, use the 260786aa69aSBen Smithurstport(s). 261786aa69aSBen Smithurst.It Ar MODULES_WITH_WORLD 262786aa69aSBen Smithurst(bool) Set to build modules with the system instead of the kernel. 263786aa69aSBen Smithurst.It Ar NO_CVS 264786aa69aSBen Smithurst(bool) Set to not build CVS. 265786aa69aSBen Smithurst.It Ar NO_BIND 266786aa69aSBen Smithurst(bool) Set to not build BIND. 267786aa69aSBen Smithurst.It Ar NO_FORTRAN 268786aa69aSBen Smithurst(bool) Set to not build g77 and related libraries. 269786aa69aSBen Smithurst.It Ar NO_LPR 270786aa69aSBen Smithurst(bool) Set to not build lpr and related programs. 271786aa69aSBen Smithurst.It Ar NO_MAILWRAPPER 272786aa69aSBen Smithurst(bool) Set to not build the mailwrapper(8) MTA selector. 273786aa69aSBen Smithurst.It Ar NO_MAKEDEV 274786aa69aSBen Smithurst(bool) Set to avoid running MAKEDEV all on /dev during install. 275786aa69aSBen Smithurst.It Ar NO_OBJC 276786aa69aSBen Smithurst(bool) Set to not build Objective C support. 277786aa69aSBen Smithurst.It Ar NO_OPENSSH 278786aa69aSBen Smithurst(bool) Set to not build OpenSSH. 279786aa69aSBen Smithurst.It Ar NO_OPENSSL 280786aa69aSBen Smithurst(bool) Set to not build OpenSSL (implies NO_OPENSSH). 281786aa69aSBen Smithurst.It Ar NO_SENDMAIL 282786aa69aSBen Smithurst(bool) Set to not build sendmail and related programs. 283786aa69aSBen Smithurst.It Ar NO_SHAREDOCS 284786aa69aSBen Smithurst(bool) Set to not build the 4.4BSD legacy docs. 285786aa69aSBen Smithurst.It Ar NO_TCSH 286786aa69aSBen Smithurst(bool) Set to not build and install /bin/csh (which is tcsh). 287786aa69aSBen Smithurst.It Ar NO_X 288786aa69aSBen Smithurst(bool) Set to not compile in XWindows support (e.g. doscmd). 289786aa69aSBen Smithurst.It Ar NOCLEAN 290786aa69aSBen Smithurst(bool) Set this to disable cleaning during 291786aa69aSBen Smithurst.Cm "make buildworld" . 292786aa69aSBen SmithurstThis should not be set unless you know what you are doing. 293786aa69aSBen Smithurst.It Ar NOCLEANDIR 294786aa69aSBen Smithurst(bool) Set this to run 295786aa69aSBen Smithurst.Cm "${MAKE} clean" 296786aa69aSBen Smithurstinstead of 297786aa69aSBen Smithurst.Cm "${MAKE} cleandir" . 298786aa69aSBen Smithurst.It Ar NOCRYPT 299786aa69aSBen Smithurst(bool) Set to not build any crypto code. 300786aa69aSBen Smithurst.It Ar NOGAMES 301786aa69aSBen Smithurst(bool) Set to not build games. 302786aa69aSBen Smithurst.It Ar NOINFO 303786aa69aSBen Smithurst(bool) Set to not make or install info files. 304786aa69aSBen Smithurst.It Ar NOLIBC_R 305786aa69aSBen Smithurst(bool) Set to not build libc_r (re-entrant version of libc). 306786aa69aSBen Smithurst.It Ar NOMANCOMPRESS 307786aa69aSBen Smithurst(bool) Set to install man pages uncompressed. 308786aa69aSBen Smithurst.It Ar NOPERL 309786aa69aSBen Smithurst(bool) Set to avoid building perl. 310786aa69aSBen Smithurst.It Ar NOPROFILE 311786aa69aSBen Smithurst(bool) Set to avoid compiling profiled libraries. 312786aa69aSBen Smithurst.It Ar NOSECURE 313786aa69aSBen Smithurst(bool) set to not build crypto code in secure subdir. 314786aa69aSBen Smithurst.It Ar NOSHARE 315786aa69aSBen Smithurst(bool) Set to not build in the share subdir. 316786aa69aSBen Smithurst.It Ar NOUUCP 317786aa69aSBen Smithurst(bool) Set to not build uucp related programs. 318786aa69aSBen Smithurst.It Ar PERL_THREADED 319786aa69aSBen Smithurst(bool) Set to enable the building and installation of perl with thread 320786aa69aSBen Smithurstsupport. 321786aa69aSBen Smithurst.It Ar PPP_NOSUID 322786aa69aSBen Smithurst(bool) Set to disable the installation of ppp as an suid root program. 323786aa69aSBen Smithurst.It Ar SENDMAIL_CFLAGS 324786aa69aSBen Smithurst(str) Flags to pass to the compile command when building sendmail. The 325786aa69aSBen Smithurstsendmail flags can be used to provide SASL support with setting such as: 326786aa69aSBen Smithurst.Bd -literal -offset indent 327786aa69aSBen SmithurstSENDMAIL_CFLAGS=-I/usr/local/include -DSASL 328786aa69aSBen SmithurstSENDMAIL_LDFLAGS=-L/usr/local/lib 329786aa69aSBen SmithurstSENDMAIL_LDADD=-lsasl 330786aa69aSBen Smithurst.Ed 331786aa69aSBen Smithurst.It Ar SENDMAIL_LDFLAGS 332786aa69aSBen Smithurst(str) Flags to pass to the ld command when building sendmail. 333786aa69aSBen Smithurst.It Ar SENDMAIL_LDADD 334786aa69aSBen Smithurst(str) Flags to add to the end of the ld command when building sendmail. 335786aa69aSBen Smithurst.It Ar SENDMAIL_DPADD 336786aa69aSBen Smithurst(str) This variable is undocumented. 337786aa69aSBen Smithurst.El 338786aa69aSBen Smithurst.Pp 339786aa69aSBen SmithurstThe following list provides a name and short description for variables 340786aa69aSBen Smithurstthat are used when building documentation. 341786aa69aSBen Smithurst.Bl -tag -width Ar 342786aa69aSBen Smithurst.It Ar DISTDIR 343786aa69aSBen Smithurst(str) Where distfiles are kept. Normally, this is 344786aa69aSBen Smithurst.Pa distfiles 345786aa69aSBen Smithurstin 346786aa69aSBen Smithurst.Ev PORTSDIR . 347786aa69aSBen Smithurst.It Ar DOC_LANG 348786aa69aSBen Smithurst(str) The list of languages and encodings to build and install. 349786aa69aSBen Smithurst.It Ar PRINTERDEVICE 350786aa69aSBen Smithurst(str) The default format for system documentation, depends on your 351786aa69aSBen Smithurstprinter. This can be set to 352786aa69aSBen Smithurst.Dq Li ascii 353786aa69aSBen Smithurstfor simple printers or 354786aa69aSBen Smithurst.Dq Li ps 355786aa69aSBen Smithurstfor postscript or graphics printers with a ghostscript 356786aa69aSBen Smithurstfilter. 357786aa69aSBen Smithurst.El 358786aa69aSBen Smithurst.Pp 359786aa69aSBen SmithurstThe following list provides a name and short description for variables 360786aa69aSBen Smithurstthat are used when building ports: 361786aa69aSBen Smithurst.Bl -tag -width Ar 362786aa69aSBen Smithurst.It Ar FORCE_PKG_RESIDENT 363786aa69aSBen Smithurst(bool) Set this to override any existing package registration. 364786aa69aSBen Smithurst.It Ar HAVE_MOTIF 365786aa69aSBen Smithurst(bool) Set this if you have Motif on your system. 366786aa69aSBen Smithurst.It Ar KRB5_HOME 367786aa69aSBen Smithurst(str) Set this if you want to install the MIT Kerberos5 port somewhere 368786aa69aSBen Smithurstother than 369786aa69aSBen Smithurst.Pa /usr/local . 370786aa69aSBen Smithurst.It Ar LOCALBASE 371786aa69aSBen Smithurst(str) Set this to the base directory that non-X ports should be 372786aa69aSBen Smithurstinstalled in. It provides the default for PREFIX when building in 373786aa69aSBen Smithurst.Pa /usr/ports . 374786aa69aSBen Smithurst.It Ar MASTER_SITE_AFTERSTEP 375786aa69aSBen Smithurst(str) Set this to change the master site for AfterStep ports. The last 376786aa69aSBen Smithurstpart of the path must be 377786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 378786aa69aSBen Smithurst.It Ar MASTER_SITE_BACKUP 379786aa69aSBen Smithurst(str) Controls the site location that ports check for distfiles if the 380786aa69aSBen Smithurstlocations listed in their 381786aa69aSBen Smithurst.Pa Makefile 382786aa69aSBen Smithurstdo not work. The last part of the path must be 383786aa69aSBen Smithurst.Dq Li /${DIST_SUBDIR}/ . 384786aa69aSBen Smithurst.It Ar MASTER_SITE_COMP_SOURCES 385786aa69aSBen Smithurst(str) Controls the master site location for comp.sources ports. The 386786aa69aSBen Smithurstlast part of the path must be 387786aa69aSBen Smithurst.Dq Li %SUBDIR%/ 388786aa69aSBen Smithurst.It Ar MASTER_SITE_GNOME 389786aa69aSBen Smithurst(str) Controls the master site location for GNOME ports. The 390786aa69aSBen Smithurstlast part of the path must be 391786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ 392786aa69aSBen Smithurst.It Ar MASTER_SITE_GNU 393786aa69aSBen Smithurst(str) Controls the master site location for GNU ports. The 394786aa69aSBen Smithurstlast part of the path must be 395786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ 396786aa69aSBen Smithurst.It Ar MASTER_SITE_KDE 397786aa69aSBen Smithurst(str) Controls the master site location for KDE ports. The 398786aa69aSBen Smithurstlast part of the path must be 399786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ 400786aa69aSBen Smithurst.It Ar MASTER_SITE_FREEBSD 401786aa69aSBen Smithurst(bool) If set, go to the master 402786aa69aSBen Smithurst.Fx 403786aa69aSBen Smithurstsite for all files. 404786aa69aSBen Smithurst.It Ar MASTER_SITE_MOZILLA 405786aa69aSBen Smithurst(str) Controls the master site location for Mozilla ports. The 406786aa69aSBen Smithurstlast part of the path must be 407786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ 408786aa69aSBen Smithurst.It Ar MASTER_SITE_OVERRIDE 409786aa69aSBen Smithurst(str) If set, this site is checked before the sites listed in the ports 410786aa69aSBen Smithurst.Pa Makefile . 411786aa69aSBen SmithurstYou can have it check the backup site first by like so: 412786aa69aSBen Smithurst.Bd -literal -offset indent 413786aa69aSBen SmithurstMASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} 414786aa69aSBen Smithurst.Ed 415786aa69aSBen Smithurst.It Ar MASTER_SITE_PERL_CPAN 416786aa69aSBen Smithurst(str) Controls the master site location for Perl ports. The 417786aa69aSBen Smithurstlast part of the path must be 418786aa69aSBen Smithurst.Bd -literal -offset indent 419786aa69aSBen Smithurst/%SUBDIR%/ 420786aa69aSBen Smithurst.Ed 421786aa69aSBen Smithurst.It Ar MASTER_SORT_REGEX 422786aa69aSBen Smithurst(str) Set this to control the sort order for mirror sets. To set it to 423786aa69aSBen Smithurstprefer mirrors in the .jp domain, use: 424786aa69aSBen Smithurst.Bd -literal -offset indent 425786aa69aSBen SmithurstMASTER_SORT_REGEX?= ^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.jp/ ://[^/]*\.jp\. 426786aa69aSBen Smithurst.Ed 427786aa69aSBen SmithurstUsers of other ccTLD domins should change the 428786aa69aSBen Smithurst.Dq Li jp 429786aa69aSBen Smithurstto the 430786aa69aSBen Smithurstappropriate domain. 431786aa69aSBen Smithurst.It Ar MASTER_SITE_RINGSERVER 432786aa69aSBen Smithurst(str) Controls the master site location for Ringserver ports. The last 433786aa69aSBen Smithurstpart of the path must be 434786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 435786aa69aSBen Smithurst.It Ar MASTER_SITE_RUBY 436786aa69aSBen Smithurst(str) Controls the master site location for Ruby ports. The last 437786aa69aSBen Smithurstpart of the path must be 438786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 439786aa69aSBen Smithurst.It Ar MASTER_SITE_SUNSITE 440786aa69aSBen Smithurst(str) Controls the master site location for Sunsite ports. The last 441786aa69aSBen Smithurstpart of the path must be 442786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 443786aa69aSBen Smithurst.It Ar MASTER_SITE_TCLTK 444786aa69aSBen Smithurst(str) Controls the master site location for Tcl and Tk ports. The last 445786aa69aSBen Smithurstpart of the path must be 446786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 447786aa69aSBen Smithurst.It Ar MASTER_SITE_TEX_CTAN 448786aa69aSBen Smithurst(str) Controls the master site location for TeX ports. The last 449786aa69aSBen Smithurstpart of the path must be 450786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 451786aa69aSBen Smithurst.It Ar MASTER_SITE_WINDOWMAKER 452786aa69aSBen Smithurst(str) Controls the master site location for WindowMaker ports. The last 453786aa69aSBen Smithurstpart of the path must be 454786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 455786aa69aSBen Smithurst.It Ar MASTER_SITE_XCONTRIB 456786aa69aSBen Smithurst(str) Controls the master site location for contributed X ports. The last 457786aa69aSBen Smithurstpart of the path must be 458786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 459786aa69aSBen Smithurst.It Ar MASTER_SITE_XEMACS 460786aa69aSBen Smithurst(str) Controls the master site location for Xemacs ports. The last 461786aa69aSBen Smithurstpart of the path must be 462786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 463786aa69aSBen Smithurst.It Ar MASTER_SITE_XFREE 464786aa69aSBen Smithurst(str) Controls the master site location for XFree ports. The last 465786aa69aSBen Smithurstpart of the path must be 466786aa69aSBen Smithurst.Dq Li /%SUBDIR%/ . 467786aa69aSBen Smithurst.It Ar MOTIFLIB 468786aa69aSBen Smithurst(str) Location of 469786aa69aSBen Smithurst.Pa libXm.a 470786aa69aSBen Smithurstand 471786aa69aSBen Smithurst.Pa libXm.so . 472786aa69aSBen Smithurst.It Ar MOTIF_STATIC 473786aa69aSBen Smithurst(bool) Set this if you want ports that use Motif to be built so they 474786aa69aSBen Smithurstcan be run on systems without the Motif shared libraries. 475786aa69aSBen Smithurst.It Ar NOCLEANDEPENDS 476786aa69aSBen Smithurst(bool) Set this to prevent 477786aa69aSBen Smithurst.Cm "make clean" 478786aa69aSBen Smithurstfrom cleaning the ports that the one being cleaned depends on. 479786aa69aSBen Smithurst.It Ar NOPORTDOCS 480786aa69aSBen Smithurst(bool) Set this to disable installing additional documentation with ports. 481786aa69aSBen Smithurst.It Ar PACKAGES 482786aa69aSBen Smithurst(str) Used only for the package target; the directory for the package tree. 483786aa69aSBen Smithurst.It Ar PATCH_SITES 484786aa69aSBen Smithurst(str) Primary location(s) for the distribution of patch files. 485786aa69aSBen Smithurst.It Ar PORTSDIR 486786aa69aSBen Smithurst(str) The location of the ports tree. 487786aa69aSBen Smithurst.It Ar USA_RESIDENT 488786aa69aSBen Smithurst(bool) Set this if you are a resident of the USA so that ports that 489786aa69aSBen Smithurstneed to can attemp to comply with U.S. export regulations. 490786aa69aSBen Smithurst.It Ar WRKDIRPREFIX 491786aa69aSBen Smithurst(str) Where to create temporary files used when building ports. 492786aa69aSBen Smithurst.It Ar X11BASE 493786aa69aSBen Smithurst(str) Should be set to where the X11 distribution has been 494786aa69aSBen Smithurstinstalled if it is installed anywhere other than /usr/X11R6. 4953136363fSRuslan Ermilov.El 496786aa69aSBen Smithurst.Sh FILES 497786aa69aSBen Smithurst.Bl -tag -width /etc/defaults/make.conf -compact 498786aa69aSBen Smithurst.It Pa /etc/defaults/make.conf 499786aa69aSBen Smithurst.It Pa /etc/make.conf 500786aa69aSBen Smithurst.It Pa /usr/doc/Makefile 501786aa69aSBen Smithurst.It Pa /usr/src/Makefile 502786aa69aSBen Smithurst.It Pa /usr/src/Makefile.inc1 503786aa69aSBen Smithurst.It Pa /usr/ports/Mk/bsd.port.mk 504786aa69aSBen Smithurst.It Pa /usr/ports/Mk/bsd.sites.mk 5053136363fSRuslan Ermilov.El 506786aa69aSBen Smithurst.Sh SEE ALSO 507786aa69aSBen Smithurst.Xr gcc 1 , 508786aa69aSBen Smithurst.Xr install 1 , 509786aa69aSBen Smithurst.Xr lpd 8 , 510786aa69aSBen Smithurst.Xr make 1 , 511786aa69aSBen Smithurst.Xr make 7 , 512786aa69aSBen Smithurst.Xr ports 7 , 513786aa69aSBen Smithurst.Xr sendmail 8 514786aa69aSBen Smithurst.Sh HISTORY 515786aa69aSBen SmithurstThe 516786aa69aSBen Smithurst.Nm 517786aa69aSBen Smithurstfile appeared sometime before 518786aa69aSBen Smithurst.Fx 4.0 . 519786aa69aSBen Smithurst.Sh AUTHORS 520786aa69aSBen Smithurst.An Mike W. Meyer Aq mwm@mired.org . 521265733aaSBen Smithurst.Sh BUGS 522265733aaSBen SmithurstThis manual page may occasionally be out of date with respect to 523265733aaSBen Smithurstthe options currently available for use in 5243136363fSRuslan Ermilov.Nm . 525265733aaSBen SmithurstPlease check the 526265733aaSBen Smithurst.Pa /etc/defaults/make.conf 527265733aaSBen Smithurstfile for the latest options which are available. 528