xfsdump: fix for musl.
This commit is contained in:
parent
47e26f5360
commit
4f9a2d524c
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xfsdump'
|
||||
pkgname=xfsdump
|
||||
version=3.1.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin"
|
||||
makedepends="libuuid-devel ncurses-devel xfsprogs-devel attr-devel"
|
||||
|
@ -12,6 +12,14 @@ homepage="http://oss.sgi.com/projects/xfs/"
|
|||
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-${version}.tar.gz"
|
||||
checksum=570eafd0721515bdd79cb0e295b701d49cdf81e71a0a0ff0df6d4c5cc1960943
|
||||
|
||||
post_extract() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
sed -i -e 's/SIGCLD/SIGCHLD/g' \
|
||||
-e 's/RLIM64_INFINITY/RLIM_INFINITY/g' \
|
||||
common/main.c
|
||||
esac
|
||||
}
|
||||
post_install() {
|
||||
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
|
||||
rm -rf ${DESTDIR}/usr/share/doc/
|
||||
|
|
Loading…
Reference in a new issue