3
0
Fork 0
forked from mirrors/nixpkgs

perlPackages.FCGI: fix cross build

This commit is contained in:
Ben Wolsieffer 2019-08-15 22:38:20 -04:00 committed by Jörg Thalheim
parent 46420bbaa3
commit 136f528bbb
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -6196,6 +6196,9 @@ let
url = mirror://cpan/authors/id/E/ET/ETHER/FCGI-0.78.tar.gz;
sha256 = "1cxavhzg4gyw4gl9kirpbdimjr8gk1rjc3pqs3xrnh1gjybld5xa";
};
postPatch = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
sed -i '/use IO::File/d' Makefile.PL
'';
};
FCGIClient = buildPerlModule {