Merge pull request #7107 from jwiegley/t/global-ctags

Enable two modern features of GNU global
This commit is contained in:
John Wiegley 2015-03-31 15:51:43 -05:00
commit 3b83bf60ae

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, libtool, ncurses }:
{ fetchurl, stdenv, libtool, ncurses, ctags, sqlite, pythonPackages }:
stdenv.mkDerivation rec {
name = "global-6.3.4";
@ -9,12 +9,15 @@ stdenv.mkDerivation rec {
};
buildInputs = [ libtool ncurses ];
propagatedBuildInputs = [ pythonPackages.pygments ];
configurePhase =
'' ./configure --prefix="$out" --disable-static ''
+ ''--with-posix-sort=$(type -p sort) ''
+ ''--with-ltdl-include=${libtool}/include --with-ltdl-lib=${libtool}/lib ''
+ ''--with-ncurses=${ncurses}'';
+ ''--with-ncurses=${ncurses}''
+ ''--with-sqlite3=${sqlite}''
+ ''--with-exuberant-ctags=${ctags}/bin/ctags'';
doCheck = true;