diff --git a/srcpkgs/libnfsidmap/template b/srcpkgs/libnfsidmap/template index d47d169cda..41c6019500 100644 --- a/srcpkgs/libnfsidmap/template +++ b/srcpkgs/libnfsidmap/template @@ -14,7 +14,9 @@ distfiles="https://fedorapeople.org/~steved/${pkgname}/${version}/${pkgname}-${v checksum=391cd35a8aa48bcba1678b483c3e2525d0990eca963bb035962fcf1e3ee2a8bf pre_configure() { - sed -i 's,u_int,uint,g;s,u_char,unsigned char,g' *.[ch] + case "$XBPS_TARGET_MACHINE" in + *-musl) sed -i 's,u_int,uint,g;s,u_char,unsigned char,g' *.[ch];; + esac autoreconf -fi }