3
0
Fork 0
forked from mirrors/nixpkgs

treewide: Make explicit that 'dev' output of sqlite is used

This commit is contained in:
Tuomas Tynkkynen 2016-04-16 20:47:23 +03:00 committed by Vladimír Čunát
parent 5a8ad2d7a8
commit e80e4ba2bb
10 changed files with 10 additions and 10 deletions

View file

@ -46,7 +46,7 @@ let
${if saslSupport then "--with-sasl=${sasl}" else "--without-sasl"}
${if httpSupport then "--with-serf=${serf}" else "--without-serf"}
--with-zlib=${zlib}
--with-sqlite=${sqlite}
--with-sqlite=${sqlite.dev}
'';
preBuild = ''

View file

@ -90,7 +90,7 @@ let
};
sqlite = {
configureFlags = ["--with-pdo-sqlite=${sqlite}"];
configureFlags = ["--with-pdo-sqlite=${sqlite.dev}"];
buildInputs = [ sqlite ];
};

View file

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
"--sysconfdir=/etc"
"--localstatedir=/var"
"--enable-hdb-openldap-module"
"--with-sqlite3=${sqlite}"
"--with-sqlite3=${sqlite.dev}"
"--with-libedit=${libedit}"
"--with-openssl=${openssl.dev}"
"--without-x"

View file

@ -10,7 +10,7 @@ buildPerlPackage rec {
propagatedBuildInputs = [ DBI ];
makeMakerFlags = "SQLITE_LOCATION=${sqlite}";
makeMakerFlags = "SQLITE_LOCATION=${sqlite.dev}";
patches = [
# Support building against our own sqlite.

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
"--with-ltdl-include=${libtool}/include"
"--with-ltdl-lib=${libtool.lib}/lib"
"--with-ncurses=${ncurses.dev}"
"--with-sqlite3=${sqlite}"
"--with-sqlite3=${sqlite.dev}"
"--with-exuberant-ctags=${ctags}/bin/ctags"
"--with-posix-sort=${coreutils}/bin/sort"
];

View file

@ -7,7 +7,7 @@ index b7e2fbf..5ff23db 100644
ifndef CROSSHOST
- SQLITE_INCLUDE_DIR := /usr/include
+ SQLITE_INCLUDE_DIR := ${sqlite}/include
+ SQLITE_INCLUDE_DIR := ${sqlite.dev}/include
else
# This is totally wrong, works only with some old-style setups, and
# on some architectures of Debian/new FHS multiarch -- excluding, for

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
'';
makeFlags = [ "prefix=$(out)" "FORCE_CC=gcc" "FORCE_CXX=g++" "HOSTCXX=g++"
"SAVEDIR=~/.crawl" "sqlite=${sqlite}" ]
"SAVEDIR=~/.crawl" "sqlite=${sqlite.dev}" ]
++ stdenv.lib.optionals tileMode [ "TILES=y" "dejavu_fonts=${dejavu_fonts}" ];
postInstall = if tileMode then "mv $out/bin/crawl $out/bin/crawl-tiles" else "";

View file

@ -90,7 +90,7 @@ in stdenv.mkDerivation rec {
(lib.enableFeature withIconv "iconv")
(lib.enableFeature withTools "tools")
(lib.enableFeature withRedis "redis")
] ++ lib.optional withSqlite "--with-sqlite3=${sqlite}";
] ++ lib.optional withSqlite "--with-sqlite3=${sqlite.dev}";
enableParallelBuilding = true;

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (!stdenv.isDarwin) acl;
configureFlags = [
"--with-sqlite3=${sqlite}"
"--with-sqlite3=${sqlite.dev}"
"--with-postgresql=${postgresql}"
];

View file

@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
] ++ 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}"
++ optional (sqlite != null) "--with-sqlite3=${sqlite.dev}"
++ optional (postgresql != null) "--with-postgresql=${postgresql}"
++ optional (libmysql != null) "--with-mysql=${libmysql}"
++ optional (zlib != null) "--with-zlib=${zlib}"