mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
perl: version modules and non-base packages
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)
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
# This makefile simplifies perl module builds.
|
||||
#
|
||||
|
||||
PERL_VERSION:=5.28
|
||||
include ../perl/perlver.mk
|
||||
|
||||
ifneq ($(PKG_NAME),perl)
|
||||
PKG_VERSION:=$(PKG_VERSION)+perl$(PERL_VERSION2)
|
||||
endif
|
||||
|
||||
PERL_VERSION:=$(PERL_VERSION2)
|
||||
|
||||
# Build environment
|
||||
HOST_PERL_PREFIX:=$(STAGING_DIR_HOSTPKG)/usr
|
||||
@@ -9,7 +15,7 @@ ifneq ($(CONFIG_USE_GLIBC),)
|
||||
EXTRA_LIBS:=bsd
|
||||
EXTRA_LIBDIRS:=$(STAGING_DIR)/lib
|
||||
endif
|
||||
PERL_CMD:=$(STAGING_DIR_HOSTPKG)/usr/bin/perl$(PERL_VERSION).0
|
||||
PERL_CMD:=$(STAGING_DIR_HOSTPKG)/usr/bin/perl$(PERL_VERSION3)
|
||||
|
||||
MOD_CFLAGS_PERL:=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)
|
||||
ifdef CONFIG_PERL_THREADS
|
||||
|
||||
Reference in New Issue
Block a user