added config flag for postrgres support
svn path=/nixpkgs/trunk/; revision=5668
This commit is contained in:
parent
2453e67212
commit
d05cdd8064
@ -11,6 +11,10 @@ if test -n "$unixODBC"; then
|
||||
configureFlags="$configureFlags --with-unixODBC=$unixODBC"
|
||||
fi
|
||||
|
||||
if test -n "$postgresql"; then
|
||||
configureFlags="$configureFlags --with-pgsql=$postgresql"
|
||||
fi
|
||||
|
||||
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
|
||||
|
||||
genericBuild
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null}:
|
||||
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null}:
|
||||
|
||||
assert libxml2 != null;
|
||||
|
||||
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [flex bison libxml2 apacheHttpd];
|
||||
|
||||
inherit unixODBC;
|
||||
inherit unixODBC postgresql;
|
||||
|
||||
odbcSupport = unixODBC != null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user