diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-04-08 10:09:14 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-04-08 10:09:14 +0000 |
commit | 8ddd79ca2ec216cdfd7ad7834c366129ec437537 (patch) | |
tree | e5761228d0db57cf4931337f79ca26aa32a32ef0 /pkgs/development/tools/cdecl | |
parent | 5ebbf908781d32e84f7256fc9d9a498b24e956d9 (diff) | |
download | nixlib-8ddd79ca2ec216cdfd7ad7834c366129ec437537.tar nixlib-8ddd79ca2ec216cdfd7ad7834c366129ec437537.tar.gz nixlib-8ddd79ca2ec216cdfd7ad7834c366129ec437537.tar.bz2 nixlib-8ddd79ca2ec216cdfd7ad7834c366129ec437537.tar.lz nixlib-8ddd79ca2ec216cdfd7ad7834c366129ec437537.tar.xz nixlib-8ddd79ca2ec216cdfd7ad7834c366129ec437537.tar.zst nixlib-8ddd79ca2ec216cdfd7ad7834c366129ec437537.zip |
Making cdecl compile with readline.
svn path=/nixpkgs/trunk/; revision=14941
Diffstat (limited to 'pkgs/development/tools/cdecl')
-rw-r--r-- | pkgs/development/tools/cdecl/cdecl-2.5.patch | 4 | ||||
-rw-r--r-- | pkgs/development/tools/cdecl/default.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/tools/cdecl/cdecl-2.5.patch b/pkgs/development/tools/cdecl/cdecl-2.5.patch index b66ee1a2c4e7..4b00849f372b 100644 --- a/pkgs/development/tools/cdecl/cdecl-2.5.patch +++ b/pkgs/development/tools/cdecl/cdecl-2.5.patch @@ -7,10 +7,10 @@ index 9e85686..b8e6e02 100644 # add -DUSE_READLINE To compile in support for the GNU readline library. -CFLAGS= -s -O2 -DUSE_READLINE -+ ++CFLAGS=-DUSE_READLINE CC= gcc -LIBS= -lreadline -ltermcap -+ ++LIBS= -lreadline -lncursesw ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++ -BINDIR= /usr/bin -MANDIR= /usr/man/man1 diff --git a/pkgs/development/tools/cdecl/default.nix b/pkgs/development/tools/cdecl/default.nix index 65377508d9f4..c2682391c559 100644 --- a/pkgs/development/tools/cdecl/default.nix +++ b/pkgs/development/tools/cdecl/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, yacc, flex, readline}: +{stdenv, fetchurl, yacc, flex, readline, ncurses}: stdenv.mkDerivation { name = "cdecl-2.5"; @@ -11,7 +11,7 @@ stdenv.mkDerivation { preBuild = " makeFlags=\"PREFIX=$out\" "; - buildInputs = [yacc flex readline]; + buildInputs = [yacc flex readline ncurses]; meta = { description = "Translator English -- C/C++ declarations"; |