pkgsrc-WIP-changes archive

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

openjdk17: More OPSYS_VERSION



Module Name:	pkgsrc-wip
Committed By:	Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By:	ryoon
Date:		Tue May 10 08:57:53 2022 +0900
Changeset:	c68744134d54cd5cd74d4829ed7a9626d584441f

Modified Files:
	openjdk17/Makefile

Log Message:
openjdk17: More OPSYS_VERSION

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c68744134d54cd5cd74d4829ed7a9626d584441f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 openjdk17/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diffs:
diff --git a/openjdk17/Makefile b/openjdk17/Makefile
index 7f8c62a3f3..80931d923e 100644
--- a/openjdk17/Makefile
+++ b/openjdk17/Makefile
@@ -85,8 +85,7 @@ CONFIGURE_ARGS+=	USER=pkgsrc
 # Avoid build errors when JAVA_HOME and CLASSPATH are defined by user.
 MAKE_ENV+=	JAVA_HOME=
 MAKE_ENV+=	CLASSPATH=
-.if !empty(MACHINE_PLATFORM:MNetBSD-9.99.8[1-9]-*) || \
-    !empty(MACHINE_PLATFORM:MNetBSD-9.99.9[0-9]-*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 099980
 ALL_ENV+=	SED="sed -g"
 .endif
 


Home | Main Index | Thread Index | Old Index