summaryrefslogtreecommitdiffstats
path: root/share/man/man7
diff options
context:
space:
mode:
authorbjk <bjk@FreeBSD.org>2014-05-18 21:05:54 +0000
committerbjk <bjk@FreeBSD.org>2014-05-18 21:05:54 +0000
commit7902ae2a4255d212448c10e062f6692a554b9def (patch)
treee935b76b20ff2988db0710232199284783f3fc1a /share/man/man7
parente860f4779d09166ec13c90de502a34656691699b (diff)
downloadFreeBSD-src-7902ae2a4255d212448c10e062f6692a554b9def.zip
FreeBSD-src-7902ae2a4255d212448c10e062f6692a554b9def.tar.gz
Document some user-settable make variables in ports.7
This is not a comprehensive list, as the variables themselves are spread out over multiple files, but it is a start. Add a section to make.conf noting that variables may be set there that affect ports builds, but refer to ports.7 and elsewhere for the actual listing; any listing in make.conf.5 would likely become out of date fairly quickly. PR: docs/189199 Reviewed by: bdrewery (previous version) Approved by: hrs (mentor)
Diffstat (limited to 'share/man/man7')
-rw-r--r--share/man/man7/ports.741
1 files changed, 40 insertions, 1 deletions
diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7
index 04ffa7f..362999e 100644
--- a/share/man/man7/ports.7
+++ b/share/man/man7/ports.7
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 18, 2012
+.Dd May 17, 2014
.Dt PORTS 7
.Os
.Sh NAME
@@ -486,6 +486,44 @@ have been configured will have a uniquely named sub-directory, containing a
single file
.Pa options .
.El
+.Sh MAKE VARIABLES
+The following list provides a name and short description for many of the
+variables that are used when building ports.
+More information on these and other related variables may be found in
+.Pa ${PORTSDIR}/Mk/*
+and the
+.Fx
+Porter's Handbook.
+.Bl -tag -width ".Va OVERRIDE_LINUX_BASE_PORT"
+.It Va WITH_OPENSSL_PORT
+.Pq Vt bool
+If set, causes ports that make use of OpenSSL to use the OpenSSL from
+ports
+.Pq if available
+instead of the OpenSSL from the base system.
+.It Va WITH_DEBUG
+.Pq Vt bool
+If set, debugging symbols are installed for ports binaries.
+.It Va WITH_DEBUG_PORTS
+A list of origins for which to set
+.Va WITH_DEBUG_PORTS .
+.It Va WITH_SSP_PORTS
+.Pq Vt bool
+If set, enables
+.Fl fstack-protector
+for most ports.
+.It Va WITH_GHOSTSCRIPT_VER
+If set, the version of ghostscript to be used by ports.
+.It Va OVERRIDE_LINUX_BASE_PORT
+The default linux base to use.
+.It Va WITH_CCACHE_BUILD
+.Pq Vt bool
+If set, enables the use of
+.Xr ccache 1
+for building ports.
+.It Va CCACHE_DIR
+Which directory to use for the ccache data.
+.El
.Sh FILES
.Bl -tag -width ".Pa /usr/ports/Mk/bsd.port.mk" -compact
.It Pa /usr/ports
@@ -495,6 +533,7 @@ The big Kahuna.
.El
.Sh SEE ALSO
.Xr make 1 ,
+.Xr make.conf 5 ,
.Xr pkg 8 ,
.Xr portsnap 8
.Pp
OpenPOWER on IntegriCloud