From 670ba51607fc050f2af627338dcb491a4597250e Mon Sep 17 00:00:00 2001 From: sthen Date: Thu, 18 Aug 2016 12:29:53 +0000 Subject: [PATCH] document USE_WXNEEDED, feedback/ok jca jasper --- share/man/man5/bsd.port.mk.5 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5 index d8f4fb8701f..6582dc75c13 100644 --- a/share/man/man5/bsd.port.mk.5 +++ b/share/man/man5/bsd.port.mk.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bsd.port.mk.5,v 1.437 2016/08/01 00:48:22 espie Exp $ +.\" $OpenBSD: bsd.port.mk.5,v 1.438 2016/08/18 12:29:53 sthen 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: August 1 2016 $ +.Dd $Mdocdate: August 18 2016 $ .Dt BSD.PORT.MK 5 .Os .Sh NAME @@ -2922,6 +2922,14 @@ and not intended to be a user setting. See .Ev WRKOBJDIR_MFS for configuration. +.It Ev USE_WXNEEDED +If set to +.Sq Yes , +writes a wrapper script to ${WRKDIR}/bin/ld in +.Cm patch +to request that the linker adds an OPENBSD_WXNEEDED ELF section. +Use when a port requires memory mappings that are both executable +and writable and cannot be modified to avoid this. .It Ev USE_X11 Normally, presence of ${X11BASE} is enforced by default for building ports. But there is an experimental way to hook the xenocara build into -- 2.20.1