diff --git a/srcpkgs/clens/template b/srcpkgs/clens/template index 80f9628415..cfa3581f07 100644 --- a/srcpkgs/clens/template +++ b/srcpkgs/clens/template @@ -10,6 +10,10 @@ homepage="https://sourceforge.net/projects/clens/" distfiles="$SOURCEFORGE_SITE/clens/clens-${version}.tar.gz" checksum=064ac9954d38633e2cff6b696fd049dedc3e90b79acffbee1a87754bcf604267 +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + do_build() { 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]