miniupnpd: add musl-legacy-compat for *-musl

This commit is contained in:
Jürgen Buchmüller 2020-07-27 22:48:15 +02:00
parent 66830f2027
commit 6fe2261149
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ homepage="http://miniupnp.free.fr"
distfiles="http://miniupnp.free.fr/files/miniupnpd-${version}.tar.gz"
checksum=950894779661197fe093855fda29a728f434b5756eb4fa6cb5f7b9bff7ffe0c1
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
do_configure() {
sed -i ${wrksrc}/genconfig.sh \
-e 's|LSB_RELEASE=.*|LSB_RELEASE=$(false)|g' \