libnfsidmap: use portable types only on musl.

This commit is contained in:
Juan RP 2016-01-09 07:18:49 +01:00
parent 4445c02585
commit d8492234e2

View file

@ -14,7 +14,9 @@ distfiles="https://fedorapeople.org/~steved/${pkgname}/${version}/${pkgname}-${v
checksum=391cd35a8aa48bcba1678b483c3e2525d0990eca963bb035962fcf1e3ee2a8bf checksum=391cd35a8aa48bcba1678b483c3e2525d0990eca963bb035962fcf1e3ee2a8bf
pre_configure() { 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 autoreconf -fi
} }