diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2019-05-09 15:59:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-09 15:59:18 +0200 |
commit | ac6310118897153b1e00d5ed162f223741bb9f84 (patch) | |
tree | 0aff305cc788ba258464e1185b4f7c55321c0c62 /pkgs/applications/version-management | |
parent | 46a869b286fb42fe83d8c44d1cea21fa8160314c (diff) | |
download | nixlib-ac6310118897153b1e00d5ed162f223741bb9f84.tar nixlib-ac6310118897153b1e00d5ed162f223741bb9f84.tar.gz nixlib-ac6310118897153b1e00d5ed162f223741bb9f84.tar.bz2 nixlib-ac6310118897153b1e00d5ed162f223741bb9f84.tar.lz nixlib-ac6310118897153b1e00d5ed162f223741bb9f84.tar.xz nixlib-ac6310118897153b1e00d5ed162f223741bb9f84.tar.zst nixlib-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')
-rw-r--r-- | pkgs/applications/version-management/subversion/default.nix | 5 |
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 928e9f7d0a79..81949f951069 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") |