aboutsummaryrefslogtreecommitdiff
path: root/utils/scancpan
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2018-10-11 18:12:45 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2018-10-24 00:22:13 +0100
commitfe12a66bdef51aa61503ff251eb0ff892cbde09a (patch)
tree0467f5b4ca35ccb80f0d966dd01b6f329e9b9cd5 /utils/scancpan
parent0df5c2b13b915ca04af1d5dec012d350c415b87c (diff)
downloadbuildroot-fe12a66bdef51aa61503ff251eb0ff892cbde09a.tar.gz
buildroot-fe12a66bdef51aa61503ff251eb0ff892cbde09a.tar.bz2
scancpan: add PERL_FOO_DISTNAME in perl-foo.mk
This variable is needed for upgrading packages with scancpan. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'utils/scancpan')
-rwxr-xr-xutils/scancpan1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/scancpan b/utils/scancpan
index 6b810fdb68..7c1e4236f9 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -745,6 +745,7 @@ while (my ($distname, $dist) = each %dist) {
say {$fh} qq{HOST_${brname}_DEPENDENCIES = ${host_dependencies}} if $need_host{$distname} && $host_dependencies;
say {$fh} qq{${brname}_LICENSE = ${license}} if $license;
say {$fh} qq{${brname}_LICENSE_FILES = ${license_files}} if $license_files;
+ say {$fh} qq{${brname}_DISTNAME = ${distname}};
say {$fh} qq{};
say {$fh} qq{\$(eval \$(perl-package))} if $need_target{$distname};
say {$fh} qq{\$(eval \$(host-perl-package))} if $need_host{$distname};