libnfsidmap: use portable types only on musl.
This commit is contained in:
parent
4445c02585
commit
d8492234e2
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue