forked from mirrors/nixpkgs
PHP now with postgresql support
svn path=/nixpkgs/trunk/; revision=10510
This commit is contained in:
parent
39685ab2d1
commit
ef01d05ec9
|
@ -418,6 +418,8 @@ args:
|
|||
no_libxml2 = { cfgOption = "--disable-libxml";
|
||||
};
|
||||
|
||||
postgresql = { cfgOption = "--with-pgsql=\$postgresql";
|
||||
pass = { inherit (args) postgresql;}; };
|
||||
mysql = { cfgOption = "--with-mysql=\$mysql";
|
||||
pass = { inherit (args) mysql;}; };
|
||||
|
||||
|
@ -457,7 +459,7 @@ args:
|
|||
};
|
||||
|
||||
defaults = [ "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
|
||||
optionals = [ "libxml2" "gettext" ];
|
||||
optionals = [ "libxml2" "gettext" "postgresql"];
|
||||
|
||||
# Don't konw wether they should be default.. I use them - Marc
|
||||
|
||||
|
|
|
@ -1386,6 +1386,7 @@ rec {
|
|||
# optional features
|
||||
inherit fetchurl flex bison apacheHttpd mysql; # gettext;
|
||||
inherit libxml2;
|
||||
inherit postgresql;
|
||||
flags = [ "xdebug" "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue