Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/doc/BUILDING.mdoc,v rcsdiff: /ftp/cvs/cvsroot/src/doc/BUILDING.mdoc,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.106 retrieving revision 1.107 diff -u -p -r1.106 -r1.107 --- src/doc/BUILDING.mdoc 2014/11/06 06:41:23 1.106 +++ src/doc/BUILDING.mdoc 2014/11/13 08:25:31 1.107 @@ -1,4 +1,4 @@ -.\" $NetBSD: BUILDING.mdoc,v 1.106 2014/11/06 06:41:23 uebayasi Exp $ +.\" $NetBSD: BUILDING.mdoc,v 1.107 2014/11/13 08:25:31 apb Exp $ .\" .\" Copyright (c) 2001-2011 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -155,6 +155,11 @@ If any of these directories are missing, .Dq Reachover build structure for X11R6; the source is in .Sy X11SRCDIR . +.It Pa extsrc/ +.Dq Reachover +build structure for externally added programs and libraries; +the source is in +.Sy EXTSRCSRCDIR . .El . .Ss Build tree layout @@ -416,6 +421,15 @@ unless run in .Sq expert mode. . +.It Sy EXTSRCSRCDIR +Directory containing sources of externally added programs +and libraries. +If specified, must be an absolute path. +.DFLT +.Sy NETBSDRCDIR Ns Pa /../extsrc , +if that exists; otherwise +.Pa /usr/extsrc . +. .It Sy MAKECONF The name of the .Xr make 1 @@ -507,6 +521,12 @@ Indicates whether system documentation d will be installed during a build. .DFLTy . +.It Sy MKEXTSRC +.YorN +Indicates whether extsrc is built from +.Sy EXTSRCSRCDIR . +.DFLTn +. .It Sy MKHTML .YorN Indicates whether preformatted HTML manual pages will be built @@ -1943,6 +1963,18 @@ absolute path before being used. Set .Sy MKX11=yes . . +.It Fl Y Ar extsrcdir +Set the value of +.Sy EXTSRCSRCDIR +to +.Ar extsrcdir . +If a relative path is specified, it will be converted to an +absolute path before being used. +. +.It Fl y +Set +.Sy MKEXTSRC=yes . +. .It Fl Z Ar var Unset ("zap") the environment variable .Ar var .