From: Stefan Schantl Date: Sun, 31 May 2015 10:00:05 +0000 (+0200) Subject: pakfire: Add upstream patch for perl version. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6dcfa1f85030abd44d01b49bdd0f1e45e8fc367;p=ipfire-3.x.git pakfire: Add upstream patch for perl version. This patch is required in order to automatically detect the perl version and to track the perl API which a module is built against. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/pakfire/pakfire.nm b/pakfire/pakfire.nm index 45a1c2505..21e2bfacb 100644 --- a/pakfire/pakfire.nm +++ b/pakfire/pakfire.nm @@ -5,7 +5,7 @@ name = pakfire version = 0.9.26 -release = 3 +release = 3.1 maintainer = Michael Tremer groups = System/Packaging diff --git a/pakfire/patches/0002-pakfire-perl_version.patch b/pakfire/patches/0002-pakfire-perl_version.patch new file mode 100644 index 000000000..6b5faeae4 --- /dev/null +++ b/pakfire/patches/0002-pakfire-perl_version.patch @@ -0,0 +1,21 @@ +commit 582d5734cfcd11de7563366f9788ea72803277e6 +Author: Stefan Schantl +Date: Sat Apr 4 15:33:58 2015 +0200 + + perl.macro: Add "perl_version". + + This variable is used to store the current used perl version, which + will be used in various external perl modules to track API dependencies. + +diff --git a/macros/perl.macro b/macros/perl.macro +index b29e028..aa8fa81 100644 +--- a/macros/perl.macro ++++ b/macros/perl.macro +@@ -7,6 +7,7 @@ perl_vendorarch = %(eval "$(%{perl} -V:installvendorarch)"; echo ${installvendor + perl_vendorlib = %(eval "$(%{perl} -V:installvendorlib)"; echo ${installvendorlib}) + perl_archlib = %(eval "$(%{perl} -V:installarchlib)"; echo ${installarchlib}) + perl_privlib = %(eval "$(%{perl} -V:installprivlib)"; echo ${installprivlib}) ++perl_version = %(eval "$(%{perl} -V:version)"; echo ${version}) + + perl_all_paths = {%{perl_vendorarch},%{perl_vendorlib},%{perl_archlib},%{perl_privlib}} +