diff options
author | Peter Simons <simons@cryp.to> | 2008-10-16 12:42:20 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2008-10-16 12:42:20 +0000 |
commit | 42888269418c7aac52e622e1c6818cf17aa2c4e0 (patch) | |
tree | 2fb79e65a3eef4085052fd08f8f646dad3b97a7c | |
parent | 17a9d60d01e5a83eb27b450a8f68a7caaa1ea5f6 (diff) | |
download | nixpkgs-42888269418c7aac52e622e1c6818cf17aa2c4e0.tar nixpkgs-42888269418c7aac52e622e1c6818cf17aa2c4e0.tar.gz nixpkgs-42888269418c7aac52e622e1c6818cf17aa2c4e0.tar.bz2 nixpkgs-42888269418c7aac52e622e1c6818cf17aa2c4e0.tar.lz nixpkgs-42888269418c7aac52e622e1c6818cf17aa2c4e0.tar.xz nixpkgs-42888269418c7aac52e622e1c6818cf17aa2c4e0.tar.zst nixpkgs-42888269418c7aac52e622e1c6818cf17aa2c4e0.zip |
subversion-1.5.x: added new parameter "static"
If static is set, subversion will be built with "--enable-all-static". The flag is currently unused (and default to 'false'), because I haven't figured out a good way to expose that functionality to the user. svn path=/nixpkgs/trunk/; revision=13083
-rw-r--r-- | pkgs/applications/version-management/subversion-1.5.x/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/subversion-1.5.x/default.nix b/pkgs/applications/version-management/subversion-1.5.x/default.nix index 5a0ef99bf12..97a7e536f88 100644 --- a/pkgs/applications/version-management/subversion-1.5.x/default.nix +++ b/pkgs/applications/version-management/subversion-1.5.x/default.nix @@ -8,6 +8,7 @@ , javahlBindings ? false , stdenv, fetchurl, apr, aprutil, neon, zlib , httpd ? null, expat, swig ? null, jdk ? null +, static ? false }: assert bdbSupport -> aprutil.bdbSupport; @@ -35,8 +36,8 @@ stdenv.mkDerivation rec { ; configureFlags = '' - --disable-static --disable-keychain + ${if static then "--disable-shared --enable-all-static" else "--disable-static"} ${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"} ${if httpServer then "--with-apxs=${httpd}/bin/apxs" else "--without-apxs"} ${if pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"} @@ -56,7 +57,7 @@ stdenv.mkDerivation rec { make swig-py swig_pydir=$(toPythonPath $out)/libsvn swig_pydir_extra=$(toPythonPath $out)/svn make install-swig-py swig_pydir=$(toPythonPath $out)/libsvn swig_pydir_extra=$(toPythonPath $out)/svn fi - + if test "$perlBindings"; then make swig-pl-lib make install-swig-pl-lib |