subversion: fix apr-1 linking

This commit is contained in:
Ricardo Ardissone 2016-04-30 12:13:26 -03:00
parent 268ae334d9
commit 025ccbccd7
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- a/subversion/bindings/swig/perl/native/Makefile.PL.in
+++ b/subversion/bindings/swig/perl/native/Makefile.PL.in
@@ -72,7 +72,7 @@
# According to the log of r7937, the flags guarded by the conditional break
# the build on FreeBSD if not conditionalized.
my $apr_ldflags = '@SVN_APR_LIBS@'
- if $^O eq 'darwin' or $^O eq 'cygwin';
+ if $^O eq 'darwin' or $^O eq 'cygwin' or $^O eq 'linux';
chomp $apr_shlib_path_var;

View file

@ -35,6 +35,8 @@ let
++ stdenv.lib.optional perlBindings perl
++ stdenv.lib.optional saslSupport sasl;
patches = [ ./apr-1.patch ];
configureFlags = ''
${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"}
${if httpServer then "--with-apxs=${apacheHttpd}/bin/apxs" else "--without-apxs"}