fwup: open_memstream() is available on glibc and musl; no need to conditionalize.

This commit is contained in:
Juan RP 2016-01-15 09:15:01 +01:00
parent 4841ac3438
commit c2db2053e8

View file

@ -3,6 +3,7 @@ pkgname=fwup
version=0.5.0
revision=1
build_style=gnu-configure
configure_args="ac_vc_func_open_memstream=yes"
hostmakedepends="automake"
makedepends="libarchive-devel libsodium-devel confuse-devel"
short_desc="Configurable embedded Linux firmware update creator and runner"
@ -12,10 +13,6 @@ homepage="https://github.com/fhunleth/fwup"
distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz"
checksum=e059378b2d237d64423fd17f043ae5465aba4ac934bb9f90e63714cad89b5363
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" ac_vc_func_open_memstream=yes" ;;
esac
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}