Print this page
4863 illumos-gate can't be built with fresh perl versions
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>

@@ -135,10 +135,12 @@
 #
 PKGVERS_COMPONENT= 0.$(RELEASE)
 PKGVERS_BUILTON= $(RELEASE)
 PKGVERS_BRANCH= 0.$(ONNV_BUILDNUM)
 PKGVERS= $(PKGVERS_COMPONENT),$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
+PERL_PKGVERS.cmd= print $(PERL_VERSION) | sed 's/\.//g' | head -c 3
+PERL_PKGVERS= $(PERL_PKGVERS.cmd:sh)
 
 #
 # The ARCH32 and ARCH64 macros are used in the manifests to express
 # architecture-specific subdirectories in the installation paths
 # for isaexec'd commands.

@@ -173,11 +175,13 @@
         ARCH32=$($(PKGMACH)_ARCH32) \
         ARCH64=$($(PKGMACH)_ARCH64) \
         PKGVERS_COMPONENT=$(PKGVERS_COMPONENT) \
         PKGVERS_BUILTON=$(PKGVERS_BUILTON) \
         PKGVERS_BRANCH=$(PKGVERS_BRANCH) \
-        PKGVERS=$(PKGVERS)
+        PKGVERS=$(PKGVERS) \
+        PERL_VERSION=$(PERL_VERSION) \
+        PERL_PKGVERS=$(PERL_PKGVERS)
 
 PKGDEP_TOKENS_i386= \
         'PLATFORM=i86hvm' \
         'PLATFORM=i86pc' \
         'PLATFORM=i86xpv' \