timidity: fix cross
This has been broken at some point (seemingly in 7e5cc4d3ce).
Substituting pkg-config -> $PKG_CONFIG in configure script seems a bit better than
resorting to unconditional NIX_LDFLAGS. Since autoreconfHook can't be used we can't patch configure.ac.
This commit is contained in:
@@ -32,6 +32,11 @@ stdenv.mkDerivation rec {
|
||||
./configure-compat.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace configure \
|
||||
--replace-fail "\$(pkg-config" "\$(\$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs =
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user