netrek-client-cow: fix build on musl

This commit is contained in:
q66 2020-05-23 02:48:34 +02:00
parent 65c24630ca
commit 84f84f3ff4

View file

@ -14,6 +14,11 @@ distfiles="https://www.netrek.org/files/COW/netrek-client-cow-${version}.tar.gz"
checksum=cac219248d71033b62098c3da1ca6b4408974b22996da39eaba213b2253e6da3
nocross='./mkcflags compiled without HOSTCC'
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-fts-devel"
export LIBS+=" -lfts"
fi
post_install() {
vlicense COPYING
vlicense copyright.h