diff options
author | Zheng Junjie <z572@z572.online> | 2025-07-21 09:57:30 +0800 |
---|---|---|
committer | Zheng Junjie <z572@z572.online> | 2025-07-21 09:58:44 +0800 |
commit | 3cecd83e57c21ca7edb9553e81d203ad55fa441f (patch) | |
tree | 9002473c415ad9337d4452b1856318c289d63140 | |
parent | 071ce730403c4918a2456b6fba7351ced451c26b (diff) |
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
-rw-r--r-- | gnu/packages/dbm.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm index ec4346ad19..da5db84b41 100644 --- a/gnu/packages/dbm.scm +++ b/gnu/packages/dbm.scm @@ -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") |