gdbm: only run autoreconf in cross builds.

This commit is contained in:
Juan RP 2013-03-25 23:43:48 +01:00
parent 6aa0b68f6e
commit 4842574ebe

View file

@ -3,7 +3,6 @@ pkgname=gdbm
version=1.10
revision=4
subpackages="gdbm-devel"
makedepends="automake>=1.13.1_2 gettext-devel"
build_style=gnu-configure
configure_args="--enable-libgdbm-compat --disable-rpath"
short_desc="GNU database routines"
@ -16,9 +15,12 @@ long_desc="
GNU dbm is a set of database routines that use extensible hashing.
It works similar to the standard Unix dbm routines."
pre_configure() {
autoreconf -fi
}
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake>=1.13.1_2 gettext-devel"
pre_configure() {
autoreconf -fi
}
fi
post_install() {
# create symlinks for compatibility