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 /gnu | |
| 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
Diffstat (limited to 'gnu')
| -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 ec4346ad191..da5db84b410 100644 --- a/gnu/packages/dbm.scm +++ b/gnu/packages/dbm.scm | |||
| @@ -120,14 +120,15 @@ | |||
| 120 | (symlink (string-append automake-files "/" file) file)) | 120 | (symlink (string-append automake-files "/" file) file)) |
| 121 | (for-each replace '("config.sub" "config.guess" | 121 | (for-each replace '("config.sub" "config.guess" |
| 122 | "install-sh")))))) | 122 | "install-sh")))))) |
| 123 | #$@(if (target-arm?) | 123 | #$@(if (or (target-arm?) |
| 124 | #~((add-after 'unpack 'bdb-configure-patch | 124 | (target-riscv64?)) |
| 125 | (lambda _ | 125 | #~((add-after 'unpack 'bdb-configure-patch |
| 126 | (invoke | 126 | (lambda _ |
| 127 | "patch" "-p1" "-i" | 127 | (invoke |
| 128 | #$(local-file | 128 | "patch" "-p1" "-i" |
| 129 | (search-patch "bdb-4-5-configure.patch")))))) | 129 | #$(local-file |
| 130 | #~()) | 130 | (search-patch "bdb-4-5-configure.patch")))))) |
| 131 | #~()) | ||
| 131 | (add-before 'configure 'pre-configure | 132 | (add-before 'configure 'pre-configure |
| 132 | (lambda _ | 133 | (lambda _ |
| 133 | (chdir "dist") | 134 | (chdir "dist") |
