ldns: Compat with perl 5.22

This commit is contained in:
William A. Kennington III
2015-09-16 21:20:49 -07:00
parent 3faf5b53a5
commit 318ac091b2
2 changed files with 18 additions and 3 deletions
+6 -3
View File
@@ -8,11 +8,14 @@ stdenv.mkDerivation rec {
sha256 = "1kf8pkwhcssvgzhh6ha1pjjiziwvwmfaali7kaafh6118mcy124b";
};
patchPhase = ''
sed -i 's,\$(srcdir)/doc/doxyparse.pl,perl $(srcdir)/doc/doxyparse.pl,' Makefile.in
patches = [ ./perl-5.22-compat.patch ];
postPatch = ''
patchShebangs doc/doxyparse.pl
'';
buildInputs = [ openssl perl ];
nativeBuildInputs = [ perl ];
buildInputs = [ openssl ];
configureFlags = [ "--with-ssl=${openssl}" "--with-drill" ];