minidlna: fix musl builds

This commit is contained in:
Duncaen 2020-02-15 22:02:32 +01:00
parent 2ac9542345
commit 9059f9bfe5
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -24,6 +24,10 @@ checksum=67388ba23ab0c7033557a32084804f796aa2a796db7bb2b770fb76ac2a742eec
system_accounts="minidlna" system_accounts="minidlna"
minidlna_homedir="/var/lib/minidlna" minidlna_homedir="/var/lib/minidlna"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_install() { post_install() {
vlicense LICENCE.miniupnpd # This one is BSD. COPYING is GPL-2 vlicense LICENCE.miniupnpd # This one is BSD. COPYING is GPL-2
vconf minidlna.conf vconf minidlna.conf