pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/openjdk8 Add some paxctls to fix build on NetBSD-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2ab1fdc2b86
branches:  trunk
changeset: 347680:f2ab1fdc2b86
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri May 27 04:57:16 2016 +0000

description:
Add some paxctls to fix build on NetBSD-current.
Bump PKGREVISION.

diffstat:

 lang/openjdk8/Makefile |  23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diffs (54 lines):

diff -r 15c47ea85d2f -r f2ab1fdc2b86 lang/openjdk8/Makefile
--- a/lang/openjdk8/Makefile    Thu May 26 23:23:17 2016 +0000
+++ b/lang/openjdk8/Makefile    Fri May 27 04:57:16 2016 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2016/05/06 13:37:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.34 2016/05/27 04:57:16 wiz Exp $
 
 DISTNAME=      openjdk-1.8.92-20160506
 PKGNAME=       openjdk8-1.8.92
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_LOCAL:=openjdk7/}
 EXTRACT_SUFX=  .tar.xz
@@ -62,6 +63,12 @@
 
 CHECK_PORTABILITY_SKIP+=       hotspot/test/runtime/*/*.sh
 
+NOT_PAX_MPROTECT_SAFE+= java/openjdk8/bin/[a-ik-z]*
+NOT_PAX_MPROTECT_SAFE+= java/openjdk8/bin/j[b-z]*
+NOT_PAX_MPROTECT_SAFE+= java/openjdk8/bin/jar*
+NOT_PAX_MPROTECT_SAFE+= java/openjdk8/bin/java
+NOT_PAX_MPROTECT_SAFE+= java/openjdk8/bin/java[a-z]*
+
 # Avoid build errors when JAVA_HOME and CLASSPATH are defined by user.
 MAKE_ENV+=     JAVA_HOME=
 MAKE_ENV+=     CLASSPATH=
@@ -154,6 +161,13 @@
 .if exists(/usr/lib/libstdc++.so.7)
        ${RM} -f ${ALT_BOOTDIR}/jre/lib/${LIBDIR_ARCH}/libstdc++.so*
 .endif
+.if defined(TOOLS_PLATFORM.paxctl)
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/[a-ik-z]*
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/j[b-z]*
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/jar*
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/java
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/java[a-z]*
+.endif
 
 do-build: ${WRKDIR}/stage3-done
 
@@ -172,6 +186,13 @@
 .if defined(BATCH)
        @${RECURSIVE_MAKE} ${MAKEFLAGS} apply-va-hack
 .endif
+.if defined(TOOLS_PLATFORM.paxctl)
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/[a-ik-z]*
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/j[b-z]*
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/jar*
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/java
+       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/java[a-z]*
+.endif
        @${STEP_MSG} "Reconfiguring with newly built JDK"
        @${RECURSIVE_MAKE} ${MAKEFLAGS} do-configure
        touch ${.TARGET}



Home | Main Index | Thread Index | Old Index