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
+2 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, pkgconfig, autoconf, automake
{ stdenv, fetchgit, pkgconfig, autoreconfHook
, libX11, pam, libgcrypt, libXrender, imlib2 }:
stdenv.mkDerivation rec {
@@ -11,7 +11,6 @@ stdenv.mkDerivation rec {
sha256 = "c1f00bf90c966b2b76e00061cc4b54a3c0bc6547e788731ab694b43f55a216ab";
};
preConfigure = "autoreconf -fvi";
configureFlags = [
"--enable-pam"
"--enable-hash"
@@ -19,7 +18,7 @@ stdenv.mkDerivation rec {
"--enable-imlib2"
];
buildInputs = [
pkgconfig autoconf automake libX11
pkgconfig autoreconfHook libX11
pam libgcrypt libXrender imlib2
];