php 5.4: Add mhash support
This commit is contained in:
parent
6fde3cf455
commit
eed2a02d86
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison
|
{ stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison
|
||||||
, apacheHttpd, mysql, libxml2, readline, zlib, curl, gd, postgresql, gettext
|
, apacheHttpd, mysql, libxml2, readline, zlib, curl, gd, postgresql, gettext
|
||||||
, openssl, pkgconfig, sqlite, config, libiconv, libjpeg, libpng, freetype
|
, openssl, pkgconfig, sqlite, config, libiconv, libjpeg, libpng, freetype
|
||||||
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl }:
|
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash }:
|
||||||
|
|
||||||
let
|
let
|
||||||
libmcryptOverride = libmcrypt.override { disablePosixThreads = true; };
|
libmcryptOverride = libmcrypt.override { disablePosixThreads = true; };
|
||||||
@ -35,6 +35,11 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
|||||||
buildInputs = [openldap cyrus_sasl openssl];
|
buildInputs = [openldap cyrus_sasl openssl];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mhash = {
|
||||||
|
configureFlags = ["--with-mhash"];
|
||||||
|
buildInputs = [libmhash];
|
||||||
|
};
|
||||||
|
|
||||||
curl = {
|
curl = {
|
||||||
configureFlags = ["--with-curl=${curl}" "--with-curlwrappers"];
|
configureFlags = ["--with-curl=${curl}" "--with-curlwrappers"];
|
||||||
buildInputs = [curl openssl];
|
buildInputs = [curl openssl];
|
||||||
@ -173,6 +178,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
|||||||
|
|
||||||
cfg = {
|
cfg = {
|
||||||
ldapSupport = config.php.ldap or true;
|
ldapSupport = config.php.ldap or true;
|
||||||
|
mhashSupport = config.php.mhash or true;
|
||||||
mysqlSupport = config.php.mysql or true;
|
mysqlSupport = config.php.mysql or true;
|
||||||
mysqliSupport = config.php.mysqli or true;
|
mysqliSupport = config.php.mysqli or true;
|
||||||
pdo_mysqlSupport = config.php.pdo_mysql or true;
|
pdo_mysqlSupport = config.php.pdo_mysql or true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user