* gnu/packages/patches/bdb-4-5-configure.patch: New file.
* gnu/local.mk [dist_patch_DATA]: Register file.
* gnu/packages/dbm.scm (bdb-4.8)[arguments]<#:phases>: Add
'bdb-configure-patch on arm.
(bdb-6)[arguments]: Copy-paste the arguments from bdb-4.8 without the
additional phase.
Change-Id: Id75bbb519006f3b3871a23ba3d668e0ef24e6a7a
Co-authored-by: Andreas Enge <andreas@enge.fr>
Co-authored-by: Brennan Vincent <brennan@umanwizard.com>
* gnu/packages/patches/gdbm-lockwait-test.patch: New patch.
* gnu/packages/dbm.scm (gdbm): Add it.
* gnu/local.mk: Register it.
Change-Id: I991df13d66ad3cf1b567ee3b3d337215c70be2c6
This avoids
aclocal/types.m4:7: warning: underquoted definition of AM_SEARCH_USIZES
and its consequent error.
* gnu/packages/dbm.scm (bdb-4.8)[native-inputs]: Use automake-1.16.5.
Change-Id: I0f415f230198604297531499f37524b140543b9e
* gnu/packages/dbm.scm (gdbm)[arguments]: When target is loongarch64, Add
update-config phase.
[native-inputs]: When target is loongarch64, Add config.
Change-Id: I1fd1b0b4171ae3cddbcc1683f8cb12ed85fa5da8
This way, overriding the 'detection of 'build' isn't needed anymore.
* gnu/packages/dbm.scm (bdb-snippet): New procedure.
(bdb-4.8)[source]: Add the snippet.
[arguments]: Copy "config.sub"," "config.guess" and "install-sh" in a new
'boostrap phase', this time from automake. Move macros from aclocal_java
to aclocal. Move configure flags to #:configure-flags. Remove 'configure'
phase, instead add a pre-configure phase for adjusting Makefile.in and use
'#:out-of-source' to perform an out-of-source build. Run "s_config" to fix up
the version numbers.
(bdb-5.3)[source]: Inherit from bdb-4.8's source, to get the snippet.
(bdb-6)[source]: Likewise, and be careful to not add a patch.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I03aa7ed4afda15d970856efed9f14fd851ee7634
* gnu/packages/libdaemon.scm (bdb)[native-inputs,arguments]: Treat targeting
riscv64 like aarch64 is handled.
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/dbm.scm (bdb-4.8)[arguments]: Modify 'configure phase to append
"--build=powerpc64le-unknown-linux-gnu" to configure's flags when compiling for
powerpc64le-linux.
Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
* gnu/packages/dbm.scm (bdb-4.8): New variable.
[arguments]: Configure and build from 'build_unix' directory as
mentioned in documentation.
(bdb-5.3): Inherit from bdb-4.8.
(bdb-6): Inherit from bdb-4.8.
(bdb): Point to bdb-6.