mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
mosquitto: fix musl.
This commit is contained in:
parent
f43e839b44
commit
2a846aeebd
1 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mosquitto'
|
# Template file for 'mosquitto'
|
||||||
pkgname=mosquitto
|
pkgname=mosquitto
|
||||||
version=1.4.11
|
version=1.4.11
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
|
make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
|
||||||
make_install_args="prefix=/usr"
|
make_install_args="prefix=/usr"
|
||||||
|
@ -14,9 +14,15 @@ homepage="http://mosquitto.org/"
|
||||||
distfiles="http://mosquitto.org/files/source/mosquitto-${version}.tar.gz"
|
distfiles="http://mosquitto.org/files/source/mosquitto-${version}.tar.gz"
|
||||||
checksum=ca47533bbc1b7c5e15d6e5d96d3efc59677f2515b6692263c34b7c48f33280c5
|
checksum=ca47533bbc1b7c5e15d6e5d96d3efc59677f2515b6692263c34b7c48f33280c5
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
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
|
esac
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl)
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's/-lanl//' config.mk
|
||||||
|
}
|
||||||
|
esac
|
||||||
pre_install() {
|
pre_install() {
|
||||||
sed -i 's,sbin,bin,g' */Makefile
|
sed -i 's,sbin,bin,g' */Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue