netrek-client-cow: fix build on musl
This commit is contained in:
parent
65c24630ca
commit
84f84f3ff4
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ distfiles="https://www.netrek.org/files/COW/netrek-client-cow-${version}.tar.gz"
|
||||||
checksum=cac219248d71033b62098c3da1ca6b4408974b22996da39eaba213b2253e6da3
|
checksum=cac219248d71033b62098c3da1ca6b4408974b22996da39eaba213b2253e6da3
|
||||||
nocross='./mkcflags compiled without HOSTCC'
|
nocross='./mkcflags compiled without HOSTCC'
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
makedepends+=" musl-fts-devel"
|
||||||
|
export LIBS+=" -lfts"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
vlicense copyright.h
|
vlicense copyright.h
|
||||||
|
|
Loading…
Reference in a new issue