summaryrefslogtreecommitdiff
path: root/databases/db5
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-04-04 13:04:17 -0500
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-04-04 13:10:53 -0500
commit4cda17ab14588e6e4fdac7f697e246554ce82af3 (patch)
tree195f484089a2439c7326ee3f5a1335d4470f90f8 /databases/db5
parenttextproc/ibus-typing-booster: upgrade to 2.22.2 (diff)
*/*: Refactor java/openjdk7 removal
- java/openjdk7* has been removed from the tree since 2022-09-03 however the relevant codebases in bsd.java.mk has not been removed and the consumers has also not been updated to use the next jdk version. This commit updates all relevant consumers to use JAVA_VERSION=8 instead of JAVA_VERSION=1.7 - Since the introduction of jdk version 18 it looks like similar with jdk version 8(java version string 1.8). This is prone to error as it looks similar and is only seperated by a '.'. Remove using JAVA_VERSION with dotted fomat of java version string and update all consumers to utilize version 8 instead of 1.8. Approved by: portmgr (blanket)
Diffstat (limited to 'databases/db5')
-rw-r--r--databases/db5/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/db5/Makefile b/databases/db5/Makefile
index 29597687220b..23cfb01cbb64 100644
--- a/databases/db5/Makefile
+++ b/databases/db5/Makefile
@@ -56,7 +56,7 @@ L10N_CONFIGURE_ENABLE= localization
JAVA_USE= java
# db5 is incompatible with openjdk8 and causes IllegalArgument
# exceptions during build
-JAVA_VARS= DBLIBS+=libdb_java JAVA_VERSION="1.7"
+JAVA_VARS= DBLIBS+=libdb_java JAVA_VERSION="8"
JAVA_CONFIGURE_ENABLE= java
JAVA_CPPFLAGS= -I"${JAVA_HOME}/include"
JAVA_CONFIGURE_ENV= JAVAC="${JAVAC}" JAR="${JAR}" JAVA="${JAVA}" JAVACFLAGS="-Xlint:unchecked"