head	1.2;
access;
symbols
	pkgsrc-2022Q2:1.1.0.2
	pkgsrc-2022Q2-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2022.08.15.12.23.05;	author tnn;	state dead;
branches;
next	1.1;
commitid	vvfURUShFSIelYPD;

1.1
date	2022.05.13.14.24.19;	author ryoon;	state Exp;
branches;
next	;
commitid	msY1F1L8Xr9j2UDD;


desc
@@


1.2
log
@openjdk*: Security & bugfix update for the long term support branches

Upstream kindly merged many of the NetBSD-specific patches. Thanks! <3
@
text
@$NetBSD: patch-make_common_NativeCompilation.gmk,v 1.1 2022/05/13 14:24:19 ryoon Exp $

Disable PaX mprotect.

--- make/common/NativeCompilation.gmk.orig	2019-09-19 12:22:38.000000000 +0000
+++ make/common/NativeCompilation.gmk
@@@@ -1012,6 +1012,9 @@@@ define SetupNativeCompilationBody
 		    $$($1_MT) -nologo -manifest $$($1_MANIFEST) -identity:"$$($1_NAME).exe, version=$$($1_MANIFEST_VERSION)" -outputresource:$$@@;#1
                   endif
                 endif
+                ifeq ($(OPENJDK_TARGET_OS_ENV), bsd.netbsd)
+		  /usr/sbin/paxctl +m $$@@
+                endif
                 # This only works if the openjdk_codesign identity is present on the system. Let
                 # silently fail otherwise.
                 ifneq ($(CODESIGN), )
@


1.1
log
@lang/openjdk17: import openjdk17-1.17.0.3.7

Open-source implementation of the Java Platform, Standard Edition.
This package privides OpenJDK 17 LTS.

This package is NOT certified to be compatible with any Java standard.
Use at own risk.

Mandatory trademark notice:
    "OpenJDK is a trademark or registered trademark of Oracle America,
     Inc. in the United States and other countries."
@
text
@d1 1
a1 1
$NetBSD: patch-make_common_NativeCompilation.gmk,v 1.1 2019/10/01 12:36:34 tnn Exp $
@

