mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
groonga: Switch to autoreconfHook
Use `autoreconfHook` rather than manually running `aclocal`. Clarify removal of `version` file.
This commit is contained in:
parent
787a8b85fb
commit
8edba0e217
|
@ -1,8 +1,7 @@
|
|||
{ lib, stdenv, fetchurl, mecab, kytea, libedit, pkg-config
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, mecab, kytea, libedit, pkg-config
|
||||
, suggestSupport ? false, zeromq, libevent, msgpack
|
||||
, lz4Support ? false, lz4
|
||||
, zlibSupport ? false, zlib
|
||||
, autoconf, automake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -16,8 +15,8 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
preConfigure = ''
|
||||
# To avoid problems due to libc++abi 11 using `#include <version>`.
|
||||
rm version
|
||||
aclocal
|
||||
'';
|
||||
|
||||
buildInputs = with lib;
|
||||
|
@ -26,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
++ optional zlibSupport zlib
|
||||
++ optionals suggestSupport [ zeromq libevent msgpack ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake pkg-config ];
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
configureFlags = with lib;
|
||||
optional zlibSupport "--with-zlib"
|
||||
|
|
Loading…
Reference in a new issue