subversion: fix apr-1 linking

+13
+11
pkgs/applications/version-management/subversion/apr-1.patch
··· 1 + --- a/subversion/bindings/swig/perl/native/Makefile.PL.in 2 + +++ b/subversion/bindings/swig/perl/native/Makefile.PL.in 3 + @@ -72,7 +72,7 @@ 4 + # According to the log of r7937, the flags guarded by the conditional break 5 + # the build on FreeBSD if not conditionalized. 6 + my $apr_ldflags = '@SVN_APR_LIBS@' 7 + - if $^O eq 'darwin' or $^O eq 'cygwin'; 8 + + if $^O eq 'darwin' or $^O eq 'cygwin' or $^O eq 'linux'; 9 + 10 + chomp $apr_shlib_path_var; 11 +
+2
pkgs/applications/version-management/subversion/default.nix
··· 35 35 ++ stdenv.lib.optional perlBindings perl 36 36 ++ stdenv.lib.optional saslSupport sasl; 37 37 38 + patches = [ ./apr-1.patch ]; 39 + 38 40 configureFlags = '' 39 41 ${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"} 40 42 ${if httpServer then "--with-apxs=${apacheHttpd}/bin/apxs" else "--without-apxs"}