xref: /dragonfly/share/man/man5/make.conf.5 (revision 43b4d1bd)
1.\" Copyright (c) 2000
2.\"	Mike W. Meyer
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: src/share/man/man5/make.conf.5,v 1.12.2.30 2003/05/18 17:05:55 brueffer Exp $
26.\" $DragonFly: src/share/man/man5/make.conf.5,v 1.8 2004/08/12 08:08:08 dillon Exp $
27.\"
28.Dd November 3, 2000
29.Dt MAKE.CONF 5
30.Os
31.Sh NAME
32.Nm make.conf
33.Nd system build information
34.Sh DESCRIPTION
35The file
36.Nm
37contains settings that control the compilation of the
38.Dx
39sources
40and ported applications.
41The file
42.Nm
43is generally created by the system administrator when the values need
44to be changed from their defaults.
45.Pp
46The purpose of
47.Nm
48is not to run commands or perform compilation actions
49directly.
50Instead, it is included by the
51various makefiles in
52.Pa /usr/src
53and
54.Pa /usr/ports
55which conditionalize their
56internal actions according to the settings found there.
57.Pp
58The
59.Pa /etc/make.conf
60file is included from the appropriate
61.Pa Makefile
62which specifies the default settings for all the available options.
63Options need only be specified in
64.Pa /etc/make.conf
65when the system administrator wishes to override these defaults.
66.Pp
67The build procedures occur in four broad areas: the world, the kernel,
68documentations and ports.
69Variables set in
70.Nm
71may be applicable during builds in one, two, or all four of these
72areas.
73They may be specified for a particular build via the
74.Fl D
75option of
76.Xr make 1 .
77.Pp
78The following lists provide a name and short description for each
79variable you can use during the indicated builds.
80The values of
81variables flagged as
82.Vt bool
83are ignored; the variable being
84set at all (even to
85.Dq Li FALSE
86or
87.Dq Li NO )
88causes it to
89be treated as if it were set.
90.Pp
91The following list provides a name and short description for variables
92that are used for all builds, or are used by the
93.Pa makefiles
94for things other than builds.
95.Bl -tag -width Ar
96.It Va CFLAGS
97.Pq Vt str
98Controls the compiler setting when compiling C code.
99Optimization levels above
100.Fl O
101.Pq Fl O2 , No ...
102are not supported.
103.Va BDECFLAGS
104is provided as a set of
105.Xr gcc 1
106settings suggested by
107.An "Bruce Evans" Aq bde@FreeBSD.org
108for developing and testing changes.
109They can be used, if set, by:
110.Pp
111.Bd -literal -offset indent
112CFLAGS+=${BDECFLAGS}
113.Ed
114.It Va CPUTYPE
115.Pq Vt str
116Controls which processor should be targeted for generated
117code.  This controls processor-specific optimizations in
118certain code (currently only OpenSSL) as well as modifying
119the value of
120.Va CFLAGS
121and
122.Va COPTFLAGS
123to contain the appropriate optimization directive to
124.Xr gcc 1 .
125The automatic setting of
126.Va CFLAGS
127and
128.Va COPTFLAGS
129may be overridden using the
130.Va NO_CPU_CFLAGS
131and
132.Va NO_CPU_COPTFLAGS
133variables, respectively.  Refer to
134.Pa /usr/share/examples/etc/defaults/make.conf
135for a list of recognized
136.Va CPUTYPE
137options.
138.It Va NO_CPU_CFLAGS
139.Pq Vt str
140Setting this variable will prevent CPU specific compiler flags
141from being automatically added to
142.Va CFLAGS
143during compile time.
144.It Va NO_CPU_COPTFLAGS
145.Pq Vt str
146Setting this variable will prevent CPU specific compiler flags
147from being automatically added to
148.Va COPTFLAGS
149during compile time.
150.It Va CVS_UPDATE
151.Pq Vt bool
152Set this to use
153.Xr cvs 1
154to update your ports with
155.Dq Li "make update" .
156.It Va CXXFLAGS
157.Pq Vt str
158Controls the compiler settings when compiling C++ code.
159.Va CXXFLAGS
160is initially set to the value of
161.Va CFLAGS .
162If you want to
163add to the
164.Va CXXFLAGS
165value, use
166.Dq Li +=
167instead of
168.Dq Li = .
169.It Va INSTALL
170.Pq Vt str
171the default install command.
172To have commands compared before doing
173the install, use
174.Bd -literal -offset indent
175INSTALL="install -C"
176.Ed
177.It Va LOCAL_DIRS
178.Pq Vt str
179List any directories that should be entered when doing
180make's in
181.Pa /usr/src
182in this variable.
183.It Va MAKE_SHELL
184.Pq Vt str
185Controls the shell used internally by
186.Xr make 1
187to process the command scripts in makefiles.
188.Xr sh 1 ,
189.Xr ksh 1 ,
190and
191.Xr csh 1
192all currently supported.
193.Bd -literal -offset indent
194MAKE_SHELL?=sh
195.Ed
196.It Va MTREE_FOLLOWS_SYMLINKS
197.Pq Vt str
198Set this to
199.Dq Fl L
200to cause
201.Xr mtree 8
202to follow symlinks.
203.It Va NO_DOCUPDATE
204.Pq Vt bool
205Set this to not update the doc tree during
206.Dq Li "make update" .
207.It Va NO_PORTSUPDATE
208.Pq Vt bool
209Set this to not update the ports tree during
210.Dq Li "make update" .
211.It Va SUP_UPDATE
212.Pq Vt bool
213Set this to use
214.Xr cvsup 1
215to update your ports with
216.Dq Li "make update" .
217.It Va SUP
218.Pq Vt str
219The location of the
220.Xr cvsup 1
221command for
222.Dq Li "make update" .
223.It Va SUPFLAGS
224.Pq Vt str
225The flag for the
226.Xr sup 1
227command when doing
228.Dq Li "make update" .
229This defaults to
230.Op Fl g L Ar 2 .
231.It Va SUPHOST
232.Pq Vt str
233The hostname of the sup server to use when doing
234.Dq Li "make update" .
235.It Va SUPFILE
236.Pq Vt str
237The first
238.Ar supfile
239to use when doing a
240.Dq Li "make update" .
241This defaults to
242.Pa /usr/share/examples/cvsup/standard\-supfile .
243.It Va SUPFILE1
244.Pq Vt str
245The second
246.Ar supfile
247to use when doing a
248.Dq Li "make update" .
249This defaults to
250.Pa /usr/share/examples/cvsup/secure\-supfile .
251.It Va SUPFILE2
252.Pq Vt str
253The third
254.Ar supfile
255to use when doing a
256.Dq Li "make update" .
257This defaults to
258.Pa /usr/share/examples/cvsup/secure\-supfile .
259.It Va PORTSSUPFILE
260.Pq Vt str
261The ports
262.Ar supfile
263to use when doing a
264.Dq Li "make update" .
265This defaults to
266.Pa /usr/share/examples/cvsup/ports\-supfile .
267.It Va DOCSUPFILE
268.Pq Vt str
269The documentation
270.Ar supfile
271to use when doing a
272.Dq Li "make update" .
273This defaults to
274.Pa /usr/share/examples/cvsup/doc\-supfile .
275.It Va WARNS_WERROR
276Causes -Werror to be added to
277.Va CFLAGS
278when WARNS is in effect.
279.El
280.Pp
281The following list provides a name and short description for variables
282that are only used doing a kernel build:
283.Bl -tag -width Ar
284.It Va BOOT_COMCONSOLE_PORT
285.Pq Vt str
286The port address to use for the console if the boot blocks have
287been configured to use a serial console instead of the keyboard/video card.
288.It Va BOOT_COMCONSOLE_SPEED
289.Pq Vt int
290The baud rate to use for the console if the boot blocks have
291been configured to use a serial console instead of the keyboard/video card.
292.It Va BOOTWAIT
293.Pq Vt int
294Controls the amount of time the kernel waits for a console keypress
295before booting the default kernel.
296The value is approximately milliseconds.
297Keypresses are accepted by the BIOS before booting from disk,
298making it possible to give custom boot parameters even when this is
299set to 0.
300.It Va COPTFLAGS
301.Pq Vt str
302Controls the compiler settings when building the
303kernel.
304Optimization levels above
305.Oo Fl O ( O2 , No ...\& ) Oc
306are not guaranteed to work.
307.It Va KERNCONF
308.Pq Vt str
309Controls which kernel configurations will be
310built by
311.Dq Li "${MAKE} buildkernel"
312and installed by
313.Dq Li "${MAKE} installkernel" .
314For example,
315.Bd -literal -offset indent
316KERNCONF=MINE DEBUG GENERIC OTHERMACHINE
317.Ed
318.Pp
319will build the kernels specified by the config files
320.Pa MINE , DEBUG , GENERIC ,
321and
322.Pa OTHERMACHINE ,
323and install the kernel specified by the config file
324.Pa MINE .
325It defaults to
326.Pa GENERIC .
327.It Va LOADER_TFTP_SUPPORT
328.Pq Vt bool
329While not a buildkernel-affected option, there is no better place for this.
330By default the
331.Xr pxeboot 8
332loader retrieves the kernel via NFS.
333Defining this and recompiling
334.Pa /usr/src/sys/boot
335will cause it to retrieve the kernel via TFTP.
336This allows pxeboot to load a custom BOOTP diskless kernel yet
337still mount the server's
338.Pa /
339rather than load the server's kernel.
340.It Va MODULES_OVERRIDE
341.Pq Vt str
342Set to a list of modules to build instead of all of them.
343.It Va NO_KERNELCONFIG
344.Pq Vt bool
345Set this to skip running
346.Xr config 8
347during
348.Dq Li "${MAKE} buildkernel" .
349.It Va NO_KERNELDEPEND
350.Pq Vt bool
351Set this to skip running
352.Dq Li "${MAKE} depend"
353during
354.Dq Li "${MAKE} buildkernel" .
355.It Va NO_MODULES
356.Pq Vt bool
357Set to not build modules with the kernel.
358.El
359.Pp
360The following list provides a name and short description for variables
361that are used during the world build:
362.Bl -tag -width Ar
363.It Va COMPAT1X
364.Pq Vt bool
365Set to install the
366.Fx
3671 compatibility libraries.
368.It Va COMPAT20
369.Pq Vt bool
370Set to install the
371.Fx 2.0
372compatibility libraries.
373.It Va COMPAT21
374.Pq Vt bool
375Set to install the
376.Fx 2.1
377compatibility libraries.
378.It Va COMPAT22
379.Pq Vt bool
380Set to install the
381.Fx 2.2
382compatibility libraries.
383.It Va COMPAT3X
384.Pq Vt bool
385Set to install the
386.Fx
3873
388compatibility libraries.
389.It Va COMPAT4X
390.Pq Vt bool
391Set to install the
392.Fx
3934
394compatibility libraries.
395.It Va ENABLE_SUIDPERL
396.Pq Vt bool
397Set to enable the installation of an suid
398.Xr perl 1
399binary.
400.It Va FETCH_CMD
401.Pq Vt str
402Command to use to fetch files.
403Normally
404.Xr fetch 1 .
405.It Va KRB5_HOME
406.Pq Vt str
407If you want to install the MIT Kerberos5 port somewhere other than
408.Pa /usr/local ,
409define this.  This is also used to tell ssh1 that kerberos is needed.
410.It Va MAKE_IDEA
411.Pq Vt bool
412Set to build the IDEA encryption code.
413This code is patented in the USA and many European countries.
414It is
415.Em "YOUR RESPONSIBILITY"
416to determine if you can legally use IDEA.
417.It Va MAKE_KERBEROS5
418.Pq Vt bool
419Set this to build Kerberos5 (KTH Heimdal).
420.Em WARNING !
421This is still experimental code.
422If you need stable Kerberos5, use the
423port(s).
424.It Va ENABLE_SUID_K5SU
425.Pq Vt bool
426Set this if you wish to use the k5su utility.  Otherwise, it will be
427installed without the set-user-ID bit set.
428.It Va ENABLE_SUID_SSH
429.Pq Vt bool
430Set this to install
431.Xr ssh 1
432with the setuid bit turned on.
433.It Va MODULES_WITH_WORLD
434.Pq Vt bool
435Set to build modules with the system instead of the kernel.
436.It Va NO_CVS
437.Pq Vt bool
438Set to not build CVS.
439.It Va NO_BIND
440.Pq Vt bool
441Set to not build BIND.
442.It Va NO_FORTRAN
443.Pq Vt bool
444Set to not build
445.Xr g77 1
446and related libraries.
447.It Va NO_GDB
448.Pq Vt bool
449Set to not build
450.Xr gdb 1
451.It Va NO_I4B
452.Pq Vt bool
453Set to not build isdn4bsd package.
454.It Va NO_IPFILTER
455.Pq Vt bool
456Set to not build IP Filter package.
457.It Va NO_LPR
458.Pq Vt bool
459Set to not build
460.Xr lpr 1
461and related programs.
462.It Va NO_MAILWRAPPER
463.Pq Vt bool
464Set to not build the
465.Xr mailwrapper 8
466MTA selector.
467.It Va NOMAN
468.Pq Vt bool
469Set to not build manual pages
470.It Va NO_MAKEDEV
471.Pq Vt bool
472Set to avoid running
473.Dq Li "MAKEDEV all"
474on
475.Pa /dev
476during install.
477.It Va NO_OBJC
478.Pq Vt bool
479Set to not build Objective C support.
480.It Va NO_OPENSSH
481.Pq Vt bool
482Set to not build OpenSSH.
483.It Va NO_OPENSSL
484.Pq Vt bool
485Set to not build OpenSSL (implies
486.Va NO_OPENSSH ) .
487.It Va NO_SENDMAIL
488.Pq Vt bool
489Set to not build
490.Xr sendmail 8
491and related programs.
492.It Va NO_SHAREDOCS
493.Pq Vt bool
494Set to not build the
495.Bx 4.4
496legacy docs.
497.It Va NO_X
498.Pq Vt bool
499Set to not compile in X\-Windows support (e.g.\&
500.Xr doscmd 1 ) .
501.It Va NOCLEAN
502.Pq Vt bool
503Set this to disable cleaning during
504.Dq Li "make buildworld" .
505This should not be set unless you know what you are doing.
506.It Va NOCLEANDIR
507.Pq Vt bool
508Set this to run
509.Dq Li "${MAKE} clean"
510instead of
511.Dq Li "${MAKE} cleandir" .
512.It Va NOCRYPT
513.Pq Vt bool
514Set to not build any crypto code.
515.It Va NOGAMES
516.Pq Vt bool
517Set to not build games.
518.It Va NOINFO
519.Pq Vt bool
520Set to not make or install
521.Xr info 5
522files.
523.It Va NOLIBC_R
524.Pq Vt bool
525Set to not build
526.Nm libc_r
527(reentrant version of
528.Nm libc ) .
529.It Va NOMANCOMPRESS
530.Pq Vt bool
531Set to install man pages uncompressed.
532.It Va NOPERL
533.Pq Vt bool
534Set to avoid building
535.Xr perl 1 .
536.It Va NOPROFILE
537.Pq Vt bool
538Set to avoid compiling profiled libraries.
539.It Va NOSHARE
540.Pq Vt bool
541Set to not build in the
542.Pa share
543subdir.
544.It Va PERL_THREADED
545.Pq Vt bool
546Set to enable the building and installation of
547.Xr perl 1
548with thread
549support.
550.It Va PPP_NOSUID
551.Pq Vt bool
552Set to disable the installation of
553.Xr ppp 8
554as an suid root program.
555.It Va SENDMAIL_MC
556.Pq Vt str
557The default m4 configuration file to use at install time.
558The value should include the full path to the
559.Pa .mc
560file, e.g.,
561.Pa /etc/mail/myconfig.mc .
562Use with caution as a make install will overwrite any existing
563.Pa /etc/mail/sendmail.cf .
564Note that
565.Va SENDMAIL_CF
566is now deprecated.
567Avoid using a value of
568.Pa /etc/mail/sendmail.mc
569as a buildworld will create
570.Pa /etc/mail/sendmail.cf
571before installworld installs an updated
572.Xr sendmail 8
573binary.
574.It Va SENDMAIL_SUBMIT_MC
575.Pq Vt str
576The default m4 configuration file for mail submission
577to use at install time.
578The value should include the full path to the
579.Pa .mc
580file, e.g.,
581.Pa /etc/mail/mysubmit.mc .
582Use with caution as a make install will overwrite any existing
583.Pa /etc/mail/submit.cf .
584Avoid using a value of
585.Pa /etc/mail/submit.mc
586as a buildworld will create
587.Pa /etc/mail/submit.cf
588before installworld installs an updated
589.Xr sendmail 8
590binary.
591.It Va SENDMAIL_ADDITIONAL_MC
592.Pq Vt str
593Additional
594.Pa .mc
595files which should be built into
596.Pa .cf
597files at build time.
598The value should include the full path to the
599.Pa .mc
600file(s), e.g.,
601.Pa /etc/mail/foo.mc
602.Pa /etc/mail/bar.mc .
603Avoid using a value of
604.Pa /etc/mail/sendmail.mc
605as a buildworld will create
606.Pa /etc/mail/sendmail.cf
607before installworld installs an updated
608.Xr sendmail 8
609binary.
610.It Va SENDMAIL_M4_FLAGS
611.Pq Vt str
612Flags passed to m4 when building a
613.Pa .cf
614file from a
615.Pa .mc
616file.
617.It Va SENDMAIL_CFLAGS
618.Pq Vt str
619Flags to pass to the compile command when building
620.Xr sendmail 8 .
621The
622.Va SENDMAIL_*
623flags can be used to provide SASL support with setting such as:
624.Bd -literal -offset indent
625SENDMAIL_CFLAGS=-I/usr/local/include -DSASL
626SENDMAIL_LDFLAGS=-L/usr/local/lib
627SENDMAIL_LDADD=-lsasl
628.Ed
629.It Va SENDMAIL_LDFLAGS
630.Pq Vt str
631Flags to pass to the
632.Xr ld 1
633command when building
634.Xr sendmail 8 .
635.It Va SENDMAIL_LDADD
636.Pq Vt str
637Flags to add to the end of the
638.Xr ld 1
639command when building
640.Xr sendmail 8 .
641.It Va SENDMAIL_DPADD
642.Pq Vt str
643Extra dependencies to add when building
644.Xr sendmail 8 .
645.It Va SENDMAIL_SET_USER_ID
646.Pq Vt bool
647If set, install
648.Xr sendmail 8
649as a set-user-ID root binary instead of a set-group-ID binary
650and do not install
651.Pa /etc/mail/submit.{cf,mc} .
652Use of this flag is not recommended and the alternative advice in
653.Pa /etc/mail/README
654should be followed instead of at all possible.
655.It Va SENDMAIL_MAP_PERMS
656.Pq Vt str
657Mode to use when generating alias and map database files using
658.Pa /etc/mail/Makefile .
659The default value is 0640.
660.It Va TOP_TABLE_SIZE
661.Pq Vt int
662.Xr top 1
663uses a hash table for the user names.  The size of this hash can be tuned
664to match the number of local users.  The table size should be a prime number
665approximately twice as large as the number of lines in
666.Pa /etc/passwd .
667The default number is 20011.
668.El
669.Pp
670The following list provides a name and short description for variables
671that are used when building documentation.
672.Bl -tag -width Ar
673.It Va DISTDIR
674.Pq Vt str
675Where distfiles are kept.
676Normally, this is
677.Pa distfiles
678in
679.Va PORTSDIR .
680.It Va DOC_LANG
681.Pq Vt str
682The list of languages and encodings to build and install.
683.It Va PRINTERDEVICE
684.Pq Vt str
685The default format for system documentation, depends on your
686printer.
687This can be set to
688.Dq Li ascii
689for simple printers or
690.Dq Li ps
691for postscript or graphics printers with a ghostscript
692filter.
693.El
694.Pp
695The following list provides a name and short description for variables
696that are used when building ports:
697.Bl -tag -width Ar
698.It Va FORCE_PKG_REGISTER
699.Pq Vt bool
700Set this to override any existing package registration.
701.It Va HAVE_MOTIF
702.Pq Vt bool
703Set this if you have Motif on your system.
704.It Va KRB5_HOME
705.Pq Vt str
706Set this if you want to install the MIT Kerberos5 port somewhere
707other than
708.Pa /usr/local .
709.It Va LOCALBASE
710.Pq Vt str
711Set this to the base directory that non\-X ports should be
712installed in.
713It provides the default for
714.Va PREFIX
715when building in
716.Pa /usr/ports .
717.It Va MASTER_SITE_AFTERSTEP
718.Pq Vt str
719Set this to change the master site for AfterStep ports.
720The last
721part of the path must be
722.Dq Li /%SUBDIR%/ .
723.It Va MASTER_SITE_BACKUP
724.Pq Vt str
725Controls the site location that ports check for distfiles if the
726locations listed in their
727.Pa Makefile
728do not work.
729The last part of the path must be
730.Dq Li /${DIST_SUBDIR}/ .
731.It Va MASTER_SITE_COMP_SOURCES
732.Pq Vt str
733Controls the master site location for
734.Pa comp.sources
735ports.
736The
737last part of the path must be
738.Dq Li %SUBDIR%/
739.It Va MASTER_SITE_GNOME
740.Pq Vt str
741Controls the master site location for GNOME ports.
742The
743last part of the path must be
744.Dq Li /%SUBDIR%/
745.It Va MASTER_SITE_GNU
746.Pq Vt str
747Controls the master site location for GNU ports.
748The
749last part of the path must be
750.Dq Li /%SUBDIR%/
751.It Va MASTER_SITE_KDE
752.Pq Vt str
753Controls the master site location for KDE ports.
754The
755last part of the path must be
756.Dq Li /%SUBDIR%/
757.It Va MASTER_SITE_FREEBSD
758.Pq Vt bool
759If set, go to the master
760.Fx
761site for all files.
762.It Va MASTER_SITE_MOZILLA
763.Pq Vt str
764Controls the master site location for Mozilla ports.
765The
766last part of the path must be
767.Dq Li /%SUBDIR%/
768.It Va MASTER_SITE_OVERRIDE
769.Pq Vt str
770If set, this site is checked before the sites listed in the ports
771.Pa Makefile .
772You can have it check the backup site first by like so:
773.Bd -literal -offset indent
774MASTER_SITE_OVERRIDE?=	${MASTER_SITE_BACKUP}
775.Ed
776.It Va MASTER_SITE_PERL_CPAN
777.Pq Vt str
778Controls the master site location for Perl ports.
779The
780last part of the path must be
781.Bd -literal -offset indent
782/%SUBDIR%/
783.Ed
784.It Va MASTER_SORT_REGEX
785.Pq Vt str
786Set this to control the sort order for mirror sets.
787To set it to
788prefer mirrors in the
789.Pa .jp
790domain, use:
791.Bd -literal -offset indent
792MASTER_SORT_REGEX?=	^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.jp/ ://[^/]*\.jp\.
793.Ed
794.Pp
795Users of other ccTLD domains should change the
796.Dq Li jp
797to the
798appropriate domain.
799.It Va MASTER_SITE_RINGSERVER
800.Pq Vt str
801Controls the master site location for Ringserver ports.
802The last
803part of the path must be
804.Dq Li /%SUBDIR%/ .
805.It Va MASTER_SITE_RUBY
806.Pq Vt str
807Controls the master site location for Ruby ports.
808The last
809part of the path must be
810.Dq Li /%SUBDIR%/ .
811.It Va MASTER_SITE_SUNSITE
812.Pq Vt str
813Controls the master site location for Sunsite ports.
814The last
815part of the path must be
816.Dq Li /%SUBDIR%/ .
817.It Va MASTER_SITE_TCLTK
818.Pq Vt str
819Controls the master site location for Tcl and Tk ports.
820The last
821part of the path must be
822.Dq Li /%SUBDIR%/ .
823.It Va MASTER_SITE_TEX_CTAN
824.Pq Vt str
825Controls the master site location for TeX ports.
826The last
827part of the path must be
828.Dq Li /%SUBDIR%/ .
829.It Va MASTER_SITE_WINDOWMAKER
830.Pq Vt str
831Controls the master site location for WindowMaker ports.
832The last
833part of the path must be
834.Dq Li /%SUBDIR%/ .
835.It Va MASTER_SITE_XCONTRIB
836.Pq Vt str
837Controls the master site location for contributed X ports.
838The last
839part of the path must be
840.Dq Li /%SUBDIR%/ .
841.It Va MASTER_SITE_XEMACS
842.Pq Vt str
843Controls the master site location for Xemacs ports.
844The last
845part of the path must be
846.Dq Li /%SUBDIR%/ .
847.It Va MASTER_SITE_XFREE
848.Pq Vt str
849Controls the master site location for XFree ports.
850The last
851part of the path must be
852.Dq Li /%SUBDIR%/ .
853.It Va MOTIFLIB
854.Pq Vt str
855Location of
856.Pa libXm.a
857and
858.Pa libXm.so .
859.It Va MOTIF_STATIC
860.Pq Vt bool
861Set this if you want ports that use Motif to be built so they
862can be run on systems without the Motif shared libraries.
863.It Va NOCLEANDEPENDS
864.Pq Vt bool
865Set this to prevent
866.Dq Li "make clean"
867from cleaning the ports that the one being cleaned depends on.
868.It Va NOPORTDOCS
869.Pq Vt bool
870Set this to disable installing additional documentation with ports.
871.It Va PACKAGES
872.Pq Vt str
873Used only for the package target; the directory for the package tree.
874.It Va PATCH_SITES
875.Pq Vt str
876Primary location(s) for the distribution of patch files.
877.It Va PORTSDIR
878.Pq Vt str
879The location of the ports tree.
880.It Va USA_RESIDENT
881.Pq Vt bool
882Set this if you are a resident of the USA so that ports that
883need to can attempt to comply with U.S. export regulations.
884.It Va WITHOUT_X11
885.Pq Vt bool
886Set this so that ports that can be built with or without X11
887support will build without X11 support by default.
888.It Va WRKDIRPREFIX
889.Pq Vt str
890Where to create temporary files used when building ports.
891.It Va X11BASE
892.Pq Vt str
893Should be set to where the X11 distribution has been
894installed if it is installed anywhere other than
895.Pa /usr/X11R6 .
896.El
897.Sh FILES
898.Bl -tag -width /etc/defaults/make.conf -compact
899.It Pa /etc/defaults/make.conf
900.It Pa /etc/make.conf
901.It Pa /usr/src/Makefile
902.It Pa /usr/src/Makefile.inc1
903.It Pa /usr/ports/Mk/bsd.port.mk
904.It Pa /usr/ports/Mk/bsd.sites.mk
905.El
906.Sh SEE ALSO
907.Xr gcc 1 ,
908.Xr install 1 ,
909.Xr make 1 ,
910.Xr ports 7 ,
911.Xr lpd 8 ,
912.Xr sendmail 8
913.Sh HISTORY
914The
915.Nm
916file appeared sometime before
917.Fx 4.0 .
918.Sh AUTHORS
919This
920manual page was written by
921.An Mike W. Meyer Aq mwm@mired.org .
922.Sh BUGS
923This manual page may occasionally be out of date with respect to
924the options currently available for use in
925.Nm .
926Please check the
927.Pa /etc/defaults/make.conf
928file for the latest options which are available.
929