summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile.jsc-common
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-06-07 17:39:27 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-06-07 17:39:27 -0700
commit88c90e1c351ab8c5bd487a5cd4b735014b08e271 (patch)
tree4c3c7acf9ad97d8378e6fc62aaf68560917cc0f1 /pkg/deb/Makefile.jsc-common
parent92ffcb89f8e145299e837438f0a0de93d73ffede (diff)
downloadunit-88c90e1c351ab8c5bd487a5cd4b735014b08e271.tar.gz
unit-88c90e1c351ab8c5bd487a5cd4b735014b08e271.tar.bz2
Packages: added Debian 12 "bookworm" support.
Diffstat (limited to '')
-rw-r--r--pkg/deb/Makefile.jsc-common4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/deb/Makefile.jsc-common b/pkg/deb/Makefile.jsc-common
index 2b098025..61af8e6e 100644
--- a/pkg/deb/Makefile.jsc-common
+++ b/pkg/deb/Makefile.jsc-common
@@ -6,8 +6,10 @@ MODULE_SUMMARY_jsc_common= Java shared packages for NGINX Unit
MODULE_VERSION_jsc_common= $(VERSION)
MODULE_RELEASE_jsc_common= 1
-ifneq (,$(findstring $(CODENAME),bionic))
+ifeq ($(CODENAME),bionic)
JAVA_MINVERSION= 8
+else ifeq ($(CODENAME),bookworm)
+JAVA_MINVERSION= 17
else
JAVA_MINVERSION= 11
endif