* Don't fixup "#! /bin/sh" in Autoconf/Automake/Libtool, otherwise they
will use the "fixed" path in generated files. svn path=/nixpkgs/trunk/; revision=12485
This commit is contained in:
parent
c62b4b2135
commit
0846ca2e5b
@ -2,16 +2,22 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "autoconf-2.62";
|
name = "autoconf-2.62";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/autoconf/${name}.tar.lzma";
|
url = "mirror://gnu/autoconf/${name}.tar.lzma";
|
||||||
sha256 = "0wc70i36cjw5kszvp50d02w8fzh2yxnsa9la6chrf7csb0dnn4jn";
|
sha256 = "0wc70i36cjw5kszvp50d02w8fzh2yxnsa9la6chrf7csb0dnn4jn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [m4 perl lzma];
|
buildInputs = [m4 perl lzma];
|
||||||
|
|
||||||
unpackCmd="lzma -d < $src | tar -x ";
|
unpackCmd="lzma -d < $src | tar -x ";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
||||||
|
# "fixed" path in generated files!
|
||||||
|
dontPatchShebangs = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.gnu.org/software/autoconf/;
|
homepage = http://www.gnu.org/software/autoconf/;
|
||||||
description = "GNU Autoconf, a part of the GNU Build System";
|
description = "GNU Autoconf, a part of the GNU Build System";
|
||||||
|
@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
||||||
|
# "fixed" path in generated files!
|
||||||
|
dontPatchShebangs = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.gnu.org/software/automake/;
|
homepage = http://www.gnu.org/software/automake/;
|
||||||
description = "GNU Automake, a GNU standard-compliant makefile generator";
|
description = "GNU Automake, a GNU standard-compliant makefile generator";
|
||||||
|
@ -9,4 +9,8 @@ stdenv.mkDerivation {
|
|||||||
md5 = "571fd0b0598eb2a27dcf68adcfddfacb";
|
md5 = "571fd0b0598eb2a27dcf68adcfddfacb";
|
||||||
};
|
};
|
||||||
buildInputs = [perl autoconf];
|
buildInputs = [perl autoconf];
|
||||||
|
|
||||||
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
||||||
|
# "fixed" path in generated files!
|
||||||
|
dontPatchShebangs = true;
|
||||||
}
|
}
|
||||||
|
@ -9,4 +9,8 @@ stdenv.mkDerivation {
|
|||||||
md5 = "c60f77a42f103606981d456f1615f5b4";
|
md5 = "c60f77a42f103606981d456f1615f5b4";
|
||||||
};
|
};
|
||||||
buildInputs = [perl autoconf];
|
buildInputs = [perl autoconf];
|
||||||
|
|
||||||
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
||||||
|
# "fixed" path in generated files!
|
||||||
|
dontPatchShebangs = true;
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libtool-1.5.26";
|
name = "libtool-1.5.26";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/libtool/" + name + ".tar.gz";
|
url = "mirror://gnu/libtool/${name}.tar.gz";
|
||||||
sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
|
sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [m4 perl];
|
buildInputs = [m4 perl];
|
||||||
|
|
||||||
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
||||||
|
# "fixed" path in generated files!
|
||||||
|
dontPatchShebangs = true;
|
||||||
}
|
}
|
||||||
|
10
pkgs/development/tools/misc/libtool/old.nix
Normal file
10
pkgs/development/tools/misc/libtool/old.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{stdenv, fetchurl, m4, perl}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libtool-1.5.26";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnu/libtool/" + name + ".tar.gz";
|
||||||
|
sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
|
||||||
|
};
|
||||||
|
buildInputs = [m4 perl];
|
||||||
|
}
|
@ -2259,6 +2259,10 @@ let pkgs = rec {
|
|||||||
inherit fetchurl stdenv perl m4;
|
inherit fetchurl stdenv perl m4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libtoolOld = lowPrio (import ../development/tools/misc/libtool/old.nix {
|
||||||
|
inherit fetchurl stdenv perl m4;
|
||||||
|
});
|
||||||
|
|
||||||
lsof = import ../development/tools/misc/lsof {
|
lsof = import ../development/tools/misc/lsof {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
@ -2402,7 +2406,8 @@ let pkgs = rec {
|
|||||||
|
|
||||||
acl = useFromStdenv "acl"
|
acl = useFromStdenv "acl"
|
||||||
(import ../development/libraries/acl {
|
(import ../development/libraries/acl {
|
||||||
inherit stdenv fetchurl gettext attr libtool;
|
inherit stdenv fetchurl gettext attr;
|
||||||
|
libtool = libtoolOld;
|
||||||
});
|
});
|
||||||
|
|
||||||
adns = selectVersion ../development/libraries/adns "1.4" {
|
adns = selectVersion ../development/libraries/adns "1.4" {
|
||||||
@ -2458,7 +2463,8 @@ let pkgs = rec {
|
|||||||
|
|
||||||
attr = useFromStdenv "attr"
|
attr = useFromStdenv "attr"
|
||||||
(import ../development/libraries/attr {
|
(import ../development/libraries/attr {
|
||||||
inherit stdenv fetchurl libtool gettext;
|
inherit stdenv fetchurl gettext;
|
||||||
|
libtool = libtoolOld;
|
||||||
});
|
});
|
||||||
|
|
||||||
axis = import ../development/libraries/axis {
|
axis = import ../development/libraries/axis {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user