From 84951c0943b79aa03ee362c21534bd46ba7a96fa Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel@telka.sk>
Date: Sat, 09 Sep 2023 08:41:39 +0200
Subject: [PATCH] illumos-gate: infer Perl version from PERL_VERSION

---
 components/openindiana/illumos-gate/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/openindiana/illumos-gate/Makefile b/components/openindiana/illumos-gate/Makefile
index ee678f4..45198c2 100644
--- a/components/openindiana/illumos-gate/Makefile
+++ b/components/openindiana/illumos-gate/Makefile
@@ -95,9 +95,9 @@
 	    -e 's|^export MULTI_PROTO=.*|export MULTI_PROTO=\"$(MULTI_PROTO)\"|' \
 	    -e 's|^export SHADOW_CCS=.*||' \
 	    -e 's|^export SHADOW_CCCS=.*||' ; \
-	  echo export PERL_VERSION=\"5.36\"; \
+	  echo export PERL_VERSION=\"$(PERL_VERSION)\"; \
 	  echo export PERL_VARIANT=\"-thread-multi\" ; \
-	  echo export PERL_PKGVERS=\"-536\"; \
+	  echo export PERL_PKGVERS=\"-$(subst .,,$(PERL_VERSION))\"; \
 	  echo export BUILDPERL32=\"#\"; \
 	  echo export BLD_JAVA_8=; \
 	  echo export CW_NO_SHADOW=1; \

--
Gitblit v1.9.3