mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
4f3f81b64f
Currently external modules and non-base packages are numbered
from their own internal number space, and even though the Perl
ABI number is embedded into them this isn't externally visible.
For example, perl-html-parser-3.72.1 could be built for ABI
5.26 or for 5.28, we can't easily tell. This changes all of
that by embedding the ABI number into the filename.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit 0d9584724f)
11 lines
253 B
Makefile
11 lines
253 B
Makefile
PERL_VERSION:=5.28.0
|
|
|
|
PERL_EXPLODE:=$(subst ., ,$(PERL_VERSION))
|
|
|
|
PERL_MAJOR:=$(word 1,$(PERL_EXPLODE))
|
|
PERL_MINOR:=$(word 2,$(PERL_EXPLODE))
|
|
PERL_REL:=$(word 3,$(PERL_EXPLODE))
|
|
|
|
PERL_VERSION3:=$(PERL_VERSION)
|
|
PERL_VERSION2:=$(PERL_MAJOR).$(PERL_MINOR)
|