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: Use OPSYSVARS for WRKSRC.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8d87a2b516fe
branches: trunk
changeset: 389211:8d87a2b516fe
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Dec 02 11:39:20 2022 +0000
description:
oracle-jdk17: Use OPSYSVARS for WRKSRC.
diffstat:
lang/oracle-jdk17/Makefile | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (24 lines):
diff -r ca24e9309e91 -r 8d87a2b516fe lang/oracle-jdk17/Makefile
--- a/lang/oracle-jdk17/Makefile Fri Dec 02 11:32:17 2022 +0000
+++ b/lang/oracle-jdk17/Makefile Fri Dec 02 11:39:20 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/12/02 11:32:17 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/02 11:39:20 jperkin Exp $
PKGNAME= oracle-jdk17-17.0.5
CATEGORIES= lang java
@@ -40,11 +40,9 @@
NOT_FOR_PLATFORM+= ${MACHINE_PLATFORM}
.endif
-.if ${OPSYS} == "Darwin"
-WRKSRC= ${WRKDIR}/jdk-${PKGVERSION_NOREV}.jdk/Contents/Home
-.else
-WRKSRC= ${WRKDIR}/jdk-${PKGVERSION_NOREV}
-.endif
+OPSYSVARS+= WRKSRC
+WRKSRC.Darwin= ${WRKDIR}/jdk-${PKGVERSION_NOREV}.jdk/Contents/Home
+WRKSRC.*= ${WRKDIR}/jdk-${PKGVERSION_NOREV}
# Contains pre-built binaries
CHECK_RELRO_SUPPORTED= no
Home |
Main Index |
Thread Index |
Old Index