diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-02-04 23:39:27 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-03-09 15:55:22 +0100 |
commit | 0ffb98828e876129eda8c01da288fe676b1fc2a6 (patch) | |
tree | bf3827d849b892dc7ca0b2cf7cf02c285a049206 /pkgs/development/tools/misc/libtool | |
parent | 8743003935692858d507589787ae46c3aa94a638 (diff) | |
download | nixpkgs-0ffb98828e876129eda8c01da288fe676b1fc2a6.tar nixpkgs-0ffb98828e876129eda8c01da288fe676b1fc2a6.tar.gz nixpkgs-0ffb98828e876129eda8c01da288fe676b1fc2a6.tar.bz2 nixpkgs-0ffb98828e876129eda8c01da288fe676b1fc2a6.tar.lz nixpkgs-0ffb98828e876129eda8c01da288fe676b1fc2a6.tar.xz nixpkgs-0ffb98828e876129eda8c01da288fe676b1fc2a6.tar.zst nixpkgs-0ffb98828e876129eda8c01da288fe676b1fc2a6.zip |
libtool: update
I see nothing dangerous in NEWS. Also refactored the expression.
Diffstat (limited to 'pkgs/development/tools/misc/libtool')
-rw-r--r-- | pkgs/development/tools/misc/libtool/libtool2.nix | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/development/tools/misc/libtool/libtool2.nix b/pkgs/development/tools/misc/libtool/libtool2.nix index d0cc086a9a6..443915d71e9 100644 --- a/pkgs/development/tools/misc/libtool/libtool2.nix +++ b/pkgs/development/tools/misc/libtool/libtool2.nix @@ -1,14 +1,15 @@ -{ stdenv, fetchurl, m4, perl, lzma }: +{ stdenv, fetchurl, m4, perl, help2man }: -stdenv.mkDerivation (rec { - name = "libtool-2.4.2"; +stdenv.mkDerivation rec { + name = "libtool-2.4.5"; src = fetchurl { url = "mirror://gnu/libtool/${name}.tar.gz"; - sha256 = "0649qfpzkswgcj9vqkkr9rn4nlcx80faxpyqscy2k1x9c94f93dk"; + sha256 = "11v9gl8ancavx7179n6zk4k8hwa0zl4wz4w9z3mffk71gnfb972h"; }; - nativeBuildInputs = [ lzma m4 perl ]; + propagatedNativeBuildInputs = [ m4 ]; + nativeBuildInputs = [ perl help2man ]; # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the # "fixed" path in generated files! @@ -18,6 +19,10 @@ stdenv.mkDerivation (rec { # leads to the failure of a number of tests. doCheck = false; + # Don't run the native `strip' when cross-compiling. This breaks at least + # with `.a' files for MinGW. + dontStrip = stdenv ? cross; + meta = { description = "GNU Libtool, a generic library support script"; @@ -39,10 +44,3 @@ stdenv.mkDerivation (rec { }; } -// - -# Don't run the native `strip' when cross-compiling. This breaks at least -# with `.a' files for MinGW. -(if (stdenv ? cross) - then { dontStrip = true; } - else { })) |