elfutils: apply 009-no-fts.patch only on musl.

This commit is contained in:
Christian Neukirchen 2015-06-22 12:12:25 +02:00
parent 15290cfd63
commit cc759347ae
2 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'elfutils'
pkgname=elfutils
version=0.161
revision=2
revision=3
build_style=gnu-configure
configure_args="--program-prefix=eu-"
hostmakedepends="m4"
@ -21,6 +21,9 @@ esac
post_extract() {
sed -i '/<linux\/uio.h>/d' backends/*_initreg.c
case "$XBPS_TARGET_MACHINE" in
*-musl) patch -Np0 <${FILESDIR}/009-no-fts.patch
esac
}
do_configure() {