asio: fix dead homepage=

This commit is contained in:
maxice8 2019-03-23 07:33:45 -03:00
parent 65e702c966
commit 11e21cc4bd
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,21 +1,21 @@
# Template file for 'asio' # Template file for 'asio'
pkgname=asio pkgname=asio
version=1.13.0 version=1.13.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
makedepends="boost-devel" makedepends="boost-devel"
depends="boost-devel" depends="boost-devel"
short_desc="Cross-platform C++ library for ASynchronous network I/O" short_desc="Cross-platform C++ library for ASynchronous network I/O"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSL-1.0" license="BSL-1.0"
homepage="https://asio.sourceforge.net" homepage="http://think-async.com/Asio/"
distfiles="${SOURCEFORGE_SITE}/asio/asio-${version}.tar.bz2" distfiles="${SOURCEFORGE_SITE}/asio/asio-${version}.tar.bz2"
checksum=1efa97afbf4191eb3d0bb96026ac35ff2eb4a842866dfe8648fbd4829a9f7e39 checksum=1efa97afbf4191eb3d0bb96026ac35ff2eb4a842866dfe8648fbd4829a9f7e39
pre_configure() { pre_configure() {
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) # Enable strerror_r(3) version for musl libc *-musl) # Enable strerror_r(3) version for musl libc
sed -e "/#define ASIO_IMPL_ERROR_CODE_IPP/a #define MUSL_LIBC" \ vsed -e "/#define ASIO_IMPL_ERROR_CODE_IPP/a #define MUSL_LIBC" \
-i ${wrksrc}/include/asio/impl/error_code.ipp -i ${wrksrc}/include/asio/impl/error_code.ipp
esac esac
} }