forked from mirrors/nixpkgs
m17n-lib: pull fix pending upstream inclusion for parallel builds
Without the change parallel build sometimes fails as: make[2]: *** No rule to make target '../src/libm17n-core.la', needed by 'libm17n.la'. Stop. make[2]: *** Waiting for unfinished jobs....
This commit is contained in:
parent
44ea61d940
commit
b9c3107cbf
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, m17n_db, autoreconfHook, pkg-config }:
|
{ lib, stdenv, fetchurl, fetchpatch, m17n_db, autoreconfHook, pkg-config }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "m17n-lib";
|
pname = "m17n-lib";
|
||||||
version = "1.8.0";
|
version = "1.8.0";
|
||||||
|
@ -8,6 +8,17 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq";
|
sha256 = "0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# Patch pending upstream inclusion:
|
||||||
|
# https://savannah.nongnu.org/bugs/index.php?61377
|
||||||
|
name = "parallel-build.patch";
|
||||||
|
url = "https://savannah.nongnu.org/bugs/download.php?file_id=53704";
|
||||||
|
hash = "sha256-1smKSIFVRJZSwCv0NiUsnndxKcPnJ/wqzH8+ka6nfNM=";
|
||||||
|
excludes = [ "src/ChangeLog" ];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
# reconf needed to sucesfully cross-compile
|
# reconf needed to sucesfully cross-compile
|
||||||
|
@ -17,10 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
m17n_db
|
m17n_db
|
||||||
];
|
];
|
||||||
|
|
||||||
# Fails parallel build due to missing intra-package depends:
|
enableParallelBuilding = true;
|
||||||
# https://savannah.nongnu.org/bugs/index.php?61377
|
|
||||||
# make[2]: *** No rule to make target '../src/libm17n-core.la', needed by 'libm17n.la'. Stop.
|
|
||||||
enableParallelBuilding = false;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://www.nongnu.org/m17n/";
|
homepage = "https://www.nongnu.org/m17n/";
|
||||||
|
|
Loading…
Reference in a new issue