libasr: update to 1.0.4

This commit is contained in:
Jürgen Buchmüller 2020-02-25 12:47:28 +01:00
parent a28a777a95
commit 2c77aa3746

View file

@ -1,6 +1,6 @@
# Template file for 'libasr'
pkgname=libasr
version=1.0.3
version=1.0.4
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
@ -10,12 +10,11 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.opensmtpd.org/"
distfiles="https://github.com/OpenSMTPD/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=9cd88e0172e6d426438875e09229d1d473d56db546d02b630f9dd14db226d68d
checksum=19fb6bed10d15c9775c8d008cd1130155917ae4e801c729fe85e6d88a545dab4
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
*) CFLAGS="$CFLAGS -DHAVE_RES_RANDOMID"
esac
if [ "$XBPS_TARGET_LIBC" != "musl" ]; then
CFLAGS="-DHAVE_RES_RANDOMID"
fi
pre_configure() {
./bootstrap