treewide: Make explicit that 'dev' output of readline is used
This commit is contained in:
parent
e0de3b1dc5
commit
8d473f107c
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ autoreconfHook gettext texinfo ncurses readline ];
|
||||
|
||||
configureFlags = [ "--with-curses=${ncurses.dev}" "--with-readline=${readline}" ];
|
||||
configureFlags = [ "--with-curses=${ncurses.dev}" "--with-readline=${readline.dev}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A viewer for info files";
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
configureScript = "./Configure";
|
||||
configureFlags =
|
||||
"--with-gmp=${gmp.dev} " +
|
||||
"--with-readline=${readline}";
|
||||
"--with-readline=${readline.dev}";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Computer algebra system for high-performance number theory computations";
|
||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
|
||||
|
||||
configureFlags = "--with-readline=${readline}";
|
||||
configureFlags = "--with-readline=${readline.dev}";
|
||||
|
||||
LIRC_CFLAGS="-I${lirc}/include";
|
||||
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
"--with-libgmp-prefix=${gmp.dev}"
|
||||
|
||||
# Same for these (?).
|
||||
"--with-libreadline-prefix=${readline}"
|
||||
"--with-libreadline-prefix=${readline.dev}"
|
||||
"--with-libunistring-prefix=${libunistring}"
|
||||
|
||||
# See below.
|
||||
|
|
|
@ -85,7 +85,7 @@ let
|
|||
};
|
||||
|
||||
readline = {
|
||||
configureFlags = ["--with-readline=${readline}"];
|
||||
configureFlags = ["--with-readline=${readline.dev}"];
|
||||
buildInputs = [ readline ];
|
||||
};
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
sed -i -e "s|/bin/ln|ln|" src/Makefile.in
|
||||
sed -i -e "s|-ltermcap|-lncurses|" ./configure
|
||||
'';
|
||||
configureFlags = "--with-png=${libpng.dev} --with-z=${zlib} --with-pcre=${pcre.dev} --with-readline=${readline}";
|
||||
configureFlags = "--with-png=${libpng.dev} --with-z=${zlib} --with-pcre=${pcre.dev} --with-readline=${readline.dev}";
|
||||
buildInputs = [ pcre libpng zlib readline ];
|
||||
propagatedBuildInputs = [ ncurses ];
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
CPP = "${stdenv.cc}/bin/gcc -E";
|
||||
|
||||
configureFlags = "
|
||||
--enable-shared --disable-all-vads --with-readline=${readline}
|
||||
--enable-shared --disable-all-vads --with-readline=${readline.dev}
|
||||
--disable-hslookup --disable-wbxml2 --without-iodbc
|
||||
--enable-openssl=${openssl.dev}
|
||||
";
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
CPP = "${stdenv.cc}/bin/gcc -E";
|
||||
|
||||
configureFlags = "
|
||||
--enable-shared --disable-all-vads --with-readline=${readline}
|
||||
--enable-shared --disable-all-vads --with-readline=${readline.dev}
|
||||
--disable-hslookup --disable-wbxml2 --without-iodbc
|
||||
--enable-openssl=${openssl.dev}
|
||||
";
|
||||
|
|
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||
"--enable-dynamic-cats-backends"
|
||||
"--enable-sql-pooling"
|
||||
"--enable-scsi-crypto"
|
||||
] ++ optionals (readline != null) [ "--disable-conio" "--enable-readline" "--with-readline=${readline}" ]
|
||||
] ++ optionals (readline != null) [ "--disable-conio" "--enable-readline" "--with-readline=${readline.dev}" ]
|
||||
++ optional (python != null) "--with-python=${python}"
|
||||
++ optional (openssl != null) "--with-openssl=${openssl.dev}"
|
||||
++ optional (sqlite != null) "--with-sqlite3=${sqlite}"
|
||||
|
|
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
++ stdenv.lib.optional stdenv.isDarwin locale;
|
||||
|
||||
configureFlags = stdenv.lib.optional (stdenv.system != "x86_64-cygwin") "--with-libsigsegv-prefix=${libsigsegv}"
|
||||
++ [(if interactive then "--with-readline=${readline}" else "--without-readline")];
|
||||
++ [(if interactive then "--with-readline=${readline.dev}" else "--without-readline")];
|
||||
|
||||
postInstall = "rm $out/bin/gawk-*";
|
||||
|
||||
|
|
Loading…
Reference in New Issue