mysql: +libmysqld, +openssl

svn path=/nixpkgs/branches/stdenv-updates/; revision=10752
This commit is contained in:
Yury G. Kudryashov 2008-02-18 20:54:08 +00:00
parent 8aaa563709
commit ab3fc34bce
2 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, ps, ncurses, zlib ? null, perl}:
args: with args;
# Note: zlib is not required; MySQL can use an internal zlib.
@ -10,7 +10,8 @@ stdenv.mkDerivation {
sha256 = "e4443d8dc859ed53bd9f3bef143ce30c7f5dee66a02748e9a003136be25e0060";
};
buildInputs = [ps ncurses zlib perl];
buildInputs = [ps ncurses zlib perl openssl];
postInstall = "ln -s mysqld_safe $out/bin/mysqld";
configureFlags = "--enable-thread-safe-client";
configureFlags = "--enable-thread-safe-client --with-embedded-server --disable-static --with-openssl=${openssl} --with-berkeley-db";
}

View file

@ -3240,7 +3240,7 @@ rec {
};
mysql = import ../servers/sql/mysql5 {
inherit fetchurl stdenv ncurses zlib perl;
inherit fetchurl stdenv ncurses zlib perl openssl;
ps = procps; /* !!! Linux only */
};