@@ -2,16 +2,24 @@
22
33stdenv.mkDerivation rec {
44 pname = "dejagnu";
5− version = "1.6.2";
5+ version = "1.6.3";
66
77 src = fetchurl {
88 url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
9− sha256 = "0qfj2wd4qk1yn9yzam6g8nmyxfazcc0knjyyibycb2ainkhp21hd";
9+ sha256 = "1qx2cv6qkxbiqg87jh217jb62hk3s7dmcs4cz1llm2wmsynfznl7";
1010 };
1111
1212 nativeBuildInputs = [ makeWrapper ];
1313 buildInputs = [ expect ];
1414
15+ # dejagnu-1.6.3 can't successfully run tests in source tree:
16+ # https://wiki.linuxfromscratch.org/lfs/ticket/4871
17+ preConfigure = ''
18+ mkdir build
19+ cd build
20+ '';
21+ configureScript = "../configure";
22+
1523 doCheck = true;
1624
1725 # Note: The test-suite *requires* /dev/pts among the `build-chroot-dirs' of