mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
gdbm: only run autoreconf in cross builds.
This commit is contained in:
parent
6aa0b68f6e
commit
4842574ebe
1 changed files with 6 additions and 4 deletions
|
@ -3,7 +3,6 @@ pkgname=gdbm
|
||||||
version=1.10
|
version=1.10
|
||||||
revision=4
|
revision=4
|
||||||
subpackages="gdbm-devel"
|
subpackages="gdbm-devel"
|
||||||
makedepends="automake>=1.13.1_2 gettext-devel"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-libgdbm-compat --disable-rpath"
|
configure_args="--enable-libgdbm-compat --disable-rpath"
|
||||||
short_desc="GNU database routines"
|
short_desc="GNU database routines"
|
||||||
|
@ -16,9 +15,12 @@ long_desc="
|
||||||
GNU dbm is a set of database routines that use extensible hashing.
|
GNU dbm is a set of database routines that use extensible hashing.
|
||||||
It works similar to the standard Unix dbm routines."
|
It works similar to the standard Unix dbm routines."
|
||||||
|
|
||||||
pre_configure() {
|
if [ "$XBPS_CROSS_BUILD" ]; then
|
||||||
autoreconf -fi
|
hostmakedepends="automake>=1.13.1_2 gettext-devel"
|
||||||
}
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# create symlinks for compatibility
|
# create symlinks for compatibility
|
||||||
|
|
Loading…
Add table
Reference in a new issue