summary refs log tree commit diff
path: root/pkgs/applications/version-management/subversion
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2019-05-09 15:59:18 +0200
committerGitHub <noreply@github.com>2019-05-09 15:59:18 +0200
commitac6310118897153b1e00d5ed162f223741bb9f84 (patch)
tree0aff305cc788ba258464e1185b4f7c55321c0c62 /pkgs/applications/version-management/subversion
parent46a869b286fb42fe83d8c44d1cea21fa8160314c (diff)
downloadnixpkgs-ac6310118897153b1e00d5ed162f223741bb9f84.tar
nixpkgs-ac6310118897153b1e00d5ed162f223741bb9f84.tar.gz
nixpkgs-ac6310118897153b1e00d5ed162f223741bb9f84.tar.bz2
nixpkgs-ac6310118897153b1e00d5ed162f223741bb9f84.tar.lz
nixpkgs-ac6310118897153b1e00d5ed162f223741bb9f84.tar.xz
nixpkgs-ac6310118897153b1e00d5ed162f223741bb9f84.tar.zst
nixpkgs-ac6310118897153b1e00d5ed162f223741bb9f84.zip
subversion: fix configure missing APR_INT64_T_FMT
configurePhase fails when building Python bindings or subversionClient
> configure: error: failed to recognize APR_INT64_T_FMT on this platform

Adding "-P" CPPFLAG solves the issue.
See also: https://issues.apache.org/jira/browse/SVN-4813
Diffstat (limited to 'pkgs/applications/version-management/subversion')
-rw-r--r--pkgs/applications/version-management/subversion/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/subversion/default.nix b/pkgs/applications/version-management/subversion/default.nix
index 928e9f7d0a7..81949f95106 100644
--- a/pkgs/applications/version-management/subversion/default.nix
+++ b/pkgs/applications/version-management/subversion/default.nix
@@ -38,6 +38,11 @@ let
 
     patches = [ ./apr-1.patch ];
 
+    # We are hitting the following issue even with APR 1.6.x
+    # -> https://issues.apache.org/jira/browse/SVN-4813
+    # "-P" CPPFLAG is needed to build Python bindings and subversionClient
+    CPPFLAGS = [ "-P" ];
+
     configureFlags = [
       (stdenv.lib.withFeature bdbSupport "berkeley-db")
       (stdenv.lib.withFeatureAs httpServer "apxs" "${apacheHttpd.dev}/bin/apxs")