GNU GLOBAL 5.9.6.

svn path=/nixpkgs/trunk/; revision=27439
wip/yesman
Ludovic Courtès 13 years ago
parent 79a7f578ec
commit 0d67ee1913
  1. 11
      pkgs/development/tools/misc/global/default.nix

@ -1,22 +1,15 @@
{ fetchurl, stdenv, libtool, ncurses }:
stdenv.mkDerivation rec {
name = "global-5.9.5";
name = "global-5.9.6";
src = fetchurl {
url = "mirror://gnu/global/${name}.tar.gz";
sha256 = "0hi7s9nnd0fwdqis2bs66k4bfmwvkwjclv7sx1p9rfpl21ngj8zw";
sha256 = "1hs6dspwl3pnh03blwnhlbm9lm16afm7z8f8sbvim19d7ylm7zkb";
};
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) ''

Loading…
Cancel
Save