Subject: | Prima::Config::bin hard-codes DESTDIR |
When installing Prima-1.47 with "make pure_install DESTDIR=/tmp/prima-dest", the DESTDIR value gets stored into $bin variable in Prima::Config:
/tmp/prima-dest/usr/lib64/perl5/vendor_perl/Prima/Config.pm:5:my $bin = q(/tmp/prima-dest/usr/bin);
As explained in older and fixed CPAN RT#88983, this is undesired behavior.
It looks like an unlucky combination of "bin=\$(DEST$6)" in Makefile.PL:install() and "my \$bin = qq($opt{bin});" in Makefile.PL:command_postinstall().