mosquitto: fix musl.

This commit is contained in:
Leah Neukirchen 2017-03-08 13:32:47 +01:00
parent f43e839b44
commit 2a846aeebd
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mosquitto'
pkgname=mosquitto
version=1.4.11
revision=1
revision=2
build_style=gnu-makefile
make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
make_install_args="prefix=/usr"
@ -14,9 +14,15 @@ homepage="http://mosquitto.org/"
distfiles="http://mosquitto.org/files/source/mosquitto-${version}.tar.gz"
checksum=ca47533bbc1b7c5e15d6e5d96d3efc59677f2515b6692263c34b7c48f33280c5
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/1402/steps/shell_3/logs/stdio" ;;
# *-musl) broken="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/1402/steps/shell_3/logs/stdio" ;;
esac
case "$XBPS_TARGET_MACHINE" in
*-musl)
post_extract() {
sed -i 's/-lanl//' config.mk
}
esac
pre_install() {
sed -i 's,sbin,bin,g' */Makefile
}