pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/oracle-jdk17 oracle-jdk17: add NetBSD/x86_64 support
details: https://anonhg.NetBSD.org/pkgsrc/rev/2c5297ffd7d7
branches: trunk
changeset: 389203:2c5297ffd7d7
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Dec 02 11:17:10 2022 +0000
description:
oracle-jdk17: add NetBSD/x86_64 support
diffstat:
lang/oracle-jdk17/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 20ba74c96a88 -r 2c5297ffd7d7 lang/oracle-jdk17/Makefile
--- a/lang/oracle-jdk17/Makefile Fri Dec 02 10:57:50 2022 +0000
+++ b/lang/oracle-jdk17/Makefile Fri Dec 02 11:17:10 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/12/02 10:48:38 jperkin Exp $
+# $NetBSD: Makefile,v 1.2 2022/12/02 11:17:10 wiz Exp $
PKGNAME= oracle-jdk17-17.0.5
CATEGORIES= lang java
@@ -11,13 +11,19 @@
USE_TOOLS+= pax
+EMUL_PLATFORMS= linux-x86_64
+EMUL_MODULES.linux= alsa locale x11
+
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_PLATFORM:MLinux-*-aarch64} || make(distinfo) || make(makesum) || make(mdi)
DISTFILES+= jdk-${PKGVERSION_NOREV}_linux-aarch64_bin.tar.gz
.endif
-.if ${MACHINE_PLATFORM:MLinux-*-x86_64} || make(distinfo) || make(makesum) || make(mdi)
+.if ${MACHINE_PLATFORM:MLinux-*-x86_64} || ${MACHINE_PLATFORM:MNetBSD-*-x86_64} || make(distinfo) || make(makesum) || make(mdi)
DISTFILES+= jdk-${PKGVERSION_NOREV}_linux-x64_bin.tar.gz
+. if ${MACHINE_PLATFORM:MNetBSD-*-x86_64}
+PLIST_SRC+= PLIST.Linux-x86_64
+. endif
.endif
.if ${MACHINE_PLATFORM:MDarwin-*-aarch64} || make(distinfo) || make(makesum) || make(mdi)
DISTFILES+= jdk-${PKGVERSION_NOREV}_macos-aarch64_bin.tar.gz
Home |
Main Index |
Thread Index |
Old Index