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
This commit is contained in:
parent
17a9d60d01
commit
4288826941
@ -8,6 +8,7 @@
|
|||||||
, javahlBindings ? false
|
, javahlBindings ? false
|
||||||
, stdenv, fetchurl, apr, aprutil, neon, zlib
|
, stdenv, fetchurl, apr, aprutil, neon, zlib
|
||||||
, httpd ? null, expat, swig ? null, jdk ? null
|
, httpd ? null, expat, swig ? null, jdk ? null
|
||||||
|
, static ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert bdbSupport -> aprutil.bdbSupport;
|
assert bdbSupport -> aprutil.bdbSupport;
|
||||||
@ -35,8 +36,8 @@ stdenv.mkDerivation rec {
|
|||||||
;
|
;
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--disable-static
|
|
||||||
--disable-keychain
|
--disable-keychain
|
||||||
|
${if static then "--disable-shared --enable-all-static" else "--disable-static"}
|
||||||
${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"}
|
${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"}
|
||||||
${if httpServer then "--with-apxs=${httpd}/bin/apxs" else "--without-apxs"}
|
${if httpServer then "--with-apxs=${httpd}/bin/apxs" else "--without-apxs"}
|
||||||
${if pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"}
|
${if pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user