Making cdecl compile with readline.
svn path=/nixpkgs/trunk/; revision=14941
This commit is contained in:
parent
5ebbf90878
commit
8ddd79ca2e
@ -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
|
||||
|
@ -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";
|
||||
|
@ -480,7 +480,7 @@ let
|
||||
};
|
||||
|
||||
cdecl = import ../development/tools/cdecl {
|
||||
inherit fetchurl stdenv yacc flex readline;
|
||||
inherit fetchurl stdenv yacc flex readline ncurses;
|
||||
};
|
||||
|
||||
cdrdao = import ../tools/cd-dvd/cdrdao {
|
||||
|
Loading…
Reference in New Issue
Block a user