libtsm: use autoreconfHook

This commit is contained in:
Robin Gloster 2017-08-12 20:26:50 +02:00
parent bfdd9d2e66
commit bd657a7293
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882
2 changed files with 5 additions and 11 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, libxkbcommon, pkgconfig, autoconf, automake }:
{ stdenv, lib, fetchurl, libxkbcommon, pkgconfig, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libtsm-3";
@ -8,13 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i";
};
buildInputs = [ libxkbcommon pkgconfig ] ++ lib.optionals stdenv.isDarwin [
autoconf automake
];
preConfigure = lib.optionalString stdenv.isDarwin ''
aclocal
'';
buildInputs = [ libxkbcommon pkgconfig ] ++ stdenv.isDarwin [
autoreconfHook
];
configureFlags = [ "--disable-debug" ];

View File

@ -9229,9 +9229,7 @@ with pkgs;
libtap = callPackage ../development/libraries/libtap { };
libtsm = callPackage ../development/libraries/libtsm {
automake = automake114x;
};
libtsm = callPackage ../development/libraries/libtsm { };
libtunepimp = callPackage ../development/libraries/libtunepimp { };