sync code with last improvements from OpenBSD
This commit is contained in:
parent
9bb7c570b7
commit
887dd091b7
35 changed files with 571 additions and 212 deletions
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: bsd.port.mk.5,v 1.621 2023/09/07 23:32:56 espie Exp $
|
||||
.\" $OpenBSD: bsd.port.mk.5,v 1.626 2023/09/09 14:15:42 bentley Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2000-2008 Marc Espie
|
||||
.\"
|
||||
|
@ -24,7 +24,7 @@
|
|||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd $Mdocdate: September 7 2023 $
|
||||
.Dd $Mdocdate: September 9 2023 $
|
||||
.Dt BSD.PORT.MK 5
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -2643,13 +2643,6 @@ Don't touch unless the default
|
|||
target needs to be redefined.
|
||||
Ideally, user-defined patch subtargets ought to test checkpatch.
|
||||
In practice, they don't.
|
||||
.It Ev PATCH_DEBUG
|
||||
If set to
|
||||
.Sq Yes ,
|
||||
the
|
||||
.Cm patch
|
||||
stage will output extra debug information.
|
||||
This is the default.
|
||||
.It Ev PATCH_DIST_ARGS
|
||||
Full list of options used while applying distribution patches.
|
||||
.It Ev PATCH_DIST_STRIP
|
||||
|
@ -3613,10 +3606,28 @@ and not intended to be a user setting.
|
|||
See
|
||||
.Ev WRKOBJDIR_MFS
|
||||
for configuration.
|
||||
.It Ev USE_NOBTCFI
|
||||
If set to
|
||||
.Sq Yes ,
|
||||
writes a wrapper script to
|
||||
.Pa ${WRKDIR}/bin/ld
|
||||
in
|
||||
.Cm patch
|
||||
to request that the linker adds a
|
||||
.Dv PT_OPENBSD_NOBTCFI
|
||||
ELF section.
|
||||
Use when a port does not work with the default strict enforcement of
|
||||
indirect branch targets.
|
||||
.Pp
|
||||
Applies to all architectures; set
|
||||
.Ev USE_NOBTCFI-${MACHINE_ARCH}
|
||||
to apply to only a specific architecture.
|
||||
.It Ev USE_NOEXECONLY
|
||||
If set to
|
||||
.Sq Yes ,
|
||||
writes a wrapper script to ${WRKDIR}/bin/ld in
|
||||
writes a wrapper script to
|
||||
.Pa ${WRKDIR}/bin/ld
|
||||
in
|
||||
.Cm patch
|
||||
adding
|
||||
.Fl -no-execute-only .
|
||||
|
@ -3625,9 +3636,11 @@ which are used by default by the linker on some architectures.
|
|||
.It Ev USE_WXNEEDED
|
||||
If set to
|
||||
.Sq Yes ,
|
||||
writes a wrapper script to ${WRKDIR}/bin/ld in
|
||||
writes a wrapper script to
|
||||
.Pa ${WRKDIR}/bin/ld
|
||||
in
|
||||
.Cm patch
|
||||
to request that the linker adds an
|
||||
to request that the linker adds a
|
||||
.Dv PT_OPENBSD_WXNEEDED
|
||||
ELF section.
|
||||
Use when a port requires memory mappings that are both executable
|
||||
|
@ -3700,10 +3713,6 @@ During ports building,
|
|||
.Pa ${WRKDIR}/bin
|
||||
is put at the front of the
|
||||
.Ev PATH .
|
||||
.It Ev WRKDIR_LINKNAME
|
||||
Name of a symbolic link to create within the port directory which will
|
||||
point to the port's ${WRKDIR}.
|
||||
Deprecated.
|
||||
.It Ev WRKDIST
|
||||
Subdirectory of ${WRKDIR} in which the distribution files normally unpack.
|
||||
Base for all patches.
|
||||
|
@ -4536,8 +4545,10 @@ specifications.
|
|||
All file sets of the base OS, including xenocara, must be installed
|
||||
before building ports.
|
||||
.It "Fatal: /usr/local/lib/X11/app-defaults should exist and be a symlink"
|
||||
/usr/local/lib/X11/app-defaults is distributed as a symlink in the
|
||||
xshare*.tgz file set.
|
||||
.Pa /usr/local/lib/X11/app-defaults
|
||||
is distributed as a symlink in the
|
||||
.Pa xshare*.tgz
|
||||
file set.
|
||||
If xenocara was not fully installed before packages were added, it may
|
||||
have been created as a directory instead.
|
||||
.It "Fatal: the licensing info for <pkgname> is incomplete..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue