subversion: enable Java bindings only on those platforms that support a JDK

svn path=/nixpkgs/trunk/; revision=17599
This commit is contained in:
Peter Simons 2009-10-02 12:44:54 +00:00
parent 83aa130427
commit c16af1a77c

View File

@ -7511,7 +7511,7 @@ let
sslSupport = getConfig ["subversion" "sslSupport"] true;
pythonBindings = getConfig ["subversion" "pythonBindings"] false;
perlBindings = getConfig ["subversion" "perlBindings"] false;
javahlBindings = getConfig ["subversion" "javahlBindings"] false;
javahlBindings = supportsJDK && getConfig ["subversion" "javahlBindings"] false;
compressionSupport = getConfig ["subversion" "compressionSupport"] true;
httpd = pkgsOverriden.apacheHttpd;
};