Merge pull request #318166 from rhelmot/freebsd-perl-cross
perl: explicitly tell FreeBSD cross that crypt is available
This commit is contained in:
commit
6389a88c08
@ -115,6 +115,11 @@ stdenv.mkDerivation (rec {
|
||||
"-Dprefix=${placeholder "out"}"
|
||||
"-Dman1dir=${placeholder "out"}/share/man/man1"
|
||||
"-Dman3dir=${placeholder "out"}/share/man/man3"
|
||||
]
|
||||
++ lib.optionals (stdenv.isFreeBSD && crossCompiling && enableCrypt) [
|
||||
# https://github.com/Perl/perl5/issues/22295
|
||||
# configure cannot figure out that we have crypt automatically, but we really do
|
||||
"-Dd_crypt"
|
||||
];
|
||||
|
||||
configureScript = lib.optionalString (!crossCompiling) "${stdenv.shell} ./Configure";
|
||||
|
Loading…
Reference in New Issue
Block a user