perl: support structuredAttrs in generic builder

Tested perlPackages.GSSAPI with and without __structuredAttrs.
This commit is contained in:
Wolfgang Walther 2024-06-12 18:35:54 +02:00
parent 1bcca7d66b
commit 581aebcdad
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

View File

@ -23,7 +23,10 @@ preConfigure() {
fi
done
perl Makefile.PL PREFIX=$out INSTALLDIRS=site $makeMakerFlags PERL=$(type -P perl) FULLPERL=\"$fullperl/bin/perl\"
local flagsArray=()
concatTo flagsArray makeMakerFlags
perl Makefile.PL PREFIX=$out INSTALLDIRS=site "${flagsArray[@]}" PERL=$(type -P perl) FULLPERL=\"$fullperl/bin/perl\"
}
if test -n "$perlPreHook"; then