subversion: fix apr-1 linking
This commit is contained in:
parent
268ae334d9
commit
025ccbccd7
11
pkgs/applications/version-management/subversion/apr-1.patch
Normal file
11
pkgs/applications/version-management/subversion/apr-1.patch
Normal 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;
|
||||||
|
|
@ -35,6 +35,8 @@ let
|
|||||||
++ stdenv.lib.optional perlBindings perl
|
++ stdenv.lib.optional perlBindings perl
|
||||||
++ stdenv.lib.optional saslSupport sasl;
|
++ stdenv.lib.optional saslSupport sasl;
|
||||||
|
|
||||||
|
patches = [ ./apr-1.patch ];
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
${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=${apacheHttpd}/bin/apxs" else "--without-apxs"}
|
${if httpServer then "--with-apxs=${apacheHttpd}/bin/apxs" else "--without-apxs"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user