pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/libreoffice



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Sep  9 10:48:25 UTC 2020

Modified Files:
        pkgsrc/misc/libreoffice: options.mk

Log Message:
libreoffice: Only enable Java on openjdk11 archs


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/misc/libreoffice/options.mk

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

Modified files:

Index: pkgsrc/misc/libreoffice/options.mk
diff -u pkgsrc/misc/libreoffice/options.mk:1.10 pkgsrc/misc/libreoffice/options.mk:1.11
--- pkgsrc/misc/libreoffice/options.mk:1.10     Tue Aug 11 16:07:38 2020
+++ pkgsrc/misc/libreoffice/options.mk  Wed Sep  9 10:48:25 2020
@@ -1,10 +1,16 @@
-# $NetBSD: options.mk,v 1.10 2020/08/11 16:07:38 ryoon Exp $
+# $NetBSD: options.mk,v 1.11 2020/09/09 10:48:25 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.libreoffice
 PKG_SUPPORTED_OPTIONS= java debug gtk3 cups
 
 .include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
+
+# "checking the installed JDK... configure: error: JDK is too old, you need at least 9"
+#
+# Only enable Java on platforms where OpenJDK>=9 is the default,
+# see mk/java-vm.mk
+.if !empty(MACHINE_PLATFORM:MNetBSD-[789].*-i386) || \
+    !empty(MACHINE_PLATFORM:MNetBSD-[789].*-x86_64)
 PKG_SUGGESTED_OPTIONS+=        java
 .endif
 



Home | Main Index | Thread Index | Old Index