clens: needs musl-legacy-compat for *-musl targets
This commit is contained in:
parent
2155d4f41b
commit
bc2d3a7cb7
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ homepage="https://sourceforge.net/projects/clens/"
|
||||||
distfiles="$SOURCEFORGE_SITE/clens/clens-${version}.tar.gz"
|
distfiles="$SOURCEFORGE_SITE/clens/clens-${version}.tar.gz"
|
||||||
checksum=064ac9954d38633e2cff6b696fd049dedc3e90b79acffbee1a87754bcf604267
|
checksum=064ac9954d38633e2cff6b696fd049dedc3e90b79acffbee1a87754bcf604267
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
makedepends+=" musl-legacy-compat"
|
||||||
|
fi
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i 's,-Werror,,g' GNUmakefile
|
sed -i 's,-Werror,,g' GNUmakefile
|
||||||
sed -i 's,u_char,unsigned char,g;s,u_int32_t,uint32_t,g;s,u_int,unsigned int,g;s,u_short,unsigned short,g' src/*.[ch]
|
sed -i 's,u_char,unsigned char,g;s,u_int32_t,uint32_t,g;s,u_int,unsigned int,g;s,u_short,unsigned short,g' src/*.[ch]
|
||||||
|
|
Loading…
Reference in a new issue