elfutils: apply 009-no-fts.patch only on musl.
This commit is contained in:
parent
15290cfd63
commit
cc759347ae
2 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'elfutils'
|
# Template file for 'elfutils'
|
||||||
pkgname=elfutils
|
pkgname=elfutils
|
||||||
version=0.161
|
version=0.161
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--program-prefix=eu-"
|
configure_args="--program-prefix=eu-"
|
||||||
hostmakedepends="m4"
|
hostmakedepends="m4"
|
||||||
|
@ -21,6 +21,9 @@ esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '/<linux\/uio.h>/d' backends/*_initreg.c
|
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() {
|
do_configure() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue