mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ports.7: Add an example of setting variables for selected ports
Reviewed by: crees
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D28202
(cherry picked from commit c0e41dff70)
This commit is contained in:
parent
061be8f939
commit
134172279b
1 changed files with 13 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
|||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd November 10, 2020
|
||||
.Dd April 17, 2021
|
||||
.Dt PORTS 7
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -631,6 +631,18 @@ shells_zsh_UNSET= DOCS EXAMPLES
|
|||
.Pp
|
||||
These and other options-related variables are documented in
|
||||
.Pa /usr/ports/Mk/bsd.options.mk .
|
||||
.It Sy Example 5\&: No Setting Xr make 1 Variables for Specific Ports via Xr make.conf 5
|
||||
.Pp
|
||||
The following example shows how to set arbitrary
|
||||
.Xr make 1
|
||||
variables only specific ports:
|
||||
.Bd -literal -offset 2n
|
||||
# Set DISABLE_MAKE_JOBS for the lang/rust port:
|
||||
\&.if ${.CURDIR:M*/lang/rust}
|
||||
DISABLE_MAKE_JOBS= yes
|
||||
TRYBROKEN= yes
|
||||
\&.endif
|
||||
.Ed
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr make 1 ,
|
||||
|
|
|
|||
Loading…
Reference in a new issue