3
0
Fork 0
forked from mirrors/nixpkgs

PHP now with postgresql support

svn path=/nixpkgs/trunk/; revision=10510
This commit is contained in:
Marc Weber 2008-02-05 19:58:28 +00:00
parent 39685ab2d1
commit ef01d05ec9
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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" ];
};