~ruther/guix-local

3cecd83e57c21ca7edb9553e81d203ad55fa441f — Zheng Junjie 10 months ago 071ce73
gnu: bdb-4.8: Fix build on riscv64.

* gnu/packages/dbm.scm (bdb-4.8)[arguments]<#:phases>: Also apply
bdb-configure-patch phase on riscv64.

Change-Id: I03b45d6fec4e35af4c23a456424a2b85ca76011b
1 files changed, 9 insertions(+), 8 deletions(-)

M gnu/packages/dbm.scm
M gnu/packages/dbm.scm => gnu/packages/dbm.scm +9 -8
@@ 120,14 120,15 @@
                         (symlink (string-append automake-files "/" file) file))
                       (for-each replace '("config.sub" "config.guess"
                                           "install-sh"))))))
               #$@(if (target-arm?)
                 #~((add-after 'unpack 'bdb-configure-patch
                   (lambda _
                     (invoke
                      "patch" "-p1" "-i"
                      #$(local-file
                         (search-patch "bdb-4-5-configure.patch"))))))
                 #~())
               #$@(if (or (target-arm?)
                          (target-riscv64?))
                      #~((add-after 'unpack 'bdb-configure-patch
                           (lambda _
                             (invoke
                              "patch" "-p1" "-i"
                              #$(local-file
                                 (search-patch "bdb-4-5-configure.patch"))))))
                      #~())
               (add-before 'configure 'pre-configure
                 (lambda _
                   (chdir "dist")