diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-05-30 21:48:55 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-05-30 21:48:55 +0000 |
commit | 0add50ed1badfa45ff631d39088232c50f14d757 (patch) | |
tree | c7657ce599da4f854f6b9352b125d13164f2a32f /pkgs/development/tools/misc/global | |
parent | 8bfb02d945e009d7c96dba26cddd53334d55b1e3 (diff) |
GNU GLOBAL 5.9.5.
svn path=/nixpkgs/trunk/; revision=27321
Diffstat (limited to 'pkgs/development/tools/misc/global')
-rw-r--r-- | pkgs/development/tools/misc/global/default.nix | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/pkgs/development/tools/misc/global/default.nix b/pkgs/development/tools/misc/global/default.nix index 82571632db272..e3d53e72f3a21 100644 --- a/pkgs/development/tools/misc/global/default.nix +++ b/pkgs/development/tools/misc/global/default.nix @@ -1,17 +1,27 @@ -{ fetchurl, stdenv, libtool }: +{ fetchurl, stdenv, libtool, ncurses }: stdenv.mkDerivation rec { - name = "global-5.9.4"; + name = "global-5.9.5"; src = fetchurl { url = "mirror://gnu/global/${name}.tar.gz"; - sha256 = "0ay6f1fffics3vkls1xykzmz9cmgj3hdighni7asnpa38s8j0lmn"; + sha256 = "0hi7s9nnd0fwdqis2bs66k4bfmwvkwjclv7sx1p9rfpl21ngj8zw"; }; - buildInputs = [ libtool ]; + buildInputs = [ libtool ncurses ]; + + patchPhase = + # Remove $(CURSES_LIBS) from the dependencies because it contains stuff + # like "-ldl -lncurses". + '' sed -i gtags-cscope/Makefile.in \ + -e 's|gtags_cscope_DEPENDENCIES = $(LDADD) $(LTDLDEPS) $(CURSES_LIBS)|gtags_cscope_DEPENDENCIES = $(LDADD)|g' + ''; configurePhase = - '' ./configure --prefix="$out" --disable-static --with-posix-sort=$(type -p sort) ''; + '' ./configure --prefix="$out" --disable-static '' + + ''--with-posix-sort=$(type -p sort) '' + + ''--with-ltdl-include=${libtool}/include --with-ltdl-lib=${libtool}/lib '' + + ''--with-ncurses=${ncurses}''; doCheck = true; |