refactor to use autoreconfHook where possible

Close #12446.
This commit is contained in:
Robin Gloster
2016-01-18 10:45:31 +01:00
committed by Vladimír Čunát
parent 620c147cce
commit 53b389327e
50 changed files with 188 additions and 320 deletions
+3 -8
View File
@@ -1,4 +1,4 @@
{stdenv, fetchurl, autoconf, automake, texinfo, buggyBiosCDSupport ? true}:
{stdenv, fetchurl, autoreconfHook, texinfo, buggyBiosCDSupport ? true}:
stdenv.mkDerivation {
name = "grub-0.97-patch-1.12";
@@ -33,8 +33,8 @@ stdenv.mkDerivation {
] ++ (stdenv.lib.optional buggyBiosCDSupport ./buggybios.patch);
# Autoconf/automake required for the splashimage patch.
buildInputs = [autoconf automake texinfo];
# autoreconfHook required for the splashimage patch.
buildInputs = [ autoreconfHook texinfo ];
prePatch = ''
unpackFile $gentooPatches
@@ -45,11 +45,6 @@ stdenv.mkDerivation {
done
'';
preConfigure = ''
autoreconf
automake --add-missing
'';
passthru.grubTarget = "";
meta = {