php 5.4: Add mhash support

This commit is contained in:
Rickard Nilsson 2013-07-10 12:27:25 +02:00
parent 6fde3cf455
commit eed2a02d86
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison
, apacheHttpd, mysql, libxml2, readline, zlib, curl, gd, postgresql, gettext
, openssl, pkgconfig, sqlite, config, libiconv, libjpeg, libpng, freetype
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl }:
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash }:
let
libmcryptOverride = libmcrypt.override { disablePosixThreads = true; };
@ -35,6 +35,11 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
buildInputs = [openldap cyrus_sasl openssl];
};
mhash = {
configureFlags = ["--with-mhash"];
buildInputs = [libmhash];
};
curl = {
configureFlags = ["--with-curl=${curl}" "--with-curlwrappers"];
buildInputs = [curl openssl];
@ -173,6 +178,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
cfg = {
ldapSupport = config.php.ldap or true;
mhashSupport = config.php.mhash or true;
mysqlSupport = config.php.mysql or true;
mysqliSupport = config.php.mysqli or true;
pdo_mysqlSupport = config.php.pdo_mysql or true;