From cc759347ae93cda1f8d74703804ce21e48d803b3 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 22 Jun 2015 12:12:25 +0200 Subject: [PATCH] elfutils: apply 009-no-fts.patch only on musl. --- srcpkgs/elfutils/{patches => files}/009-no-fts.patch | 0 srcpkgs/elfutils/template | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) rename srcpkgs/elfutils/{patches => files}/009-no-fts.patch (100%) diff --git a/srcpkgs/elfutils/patches/009-no-fts.patch b/srcpkgs/elfutils/files/009-no-fts.patch similarity index 100% rename from srcpkgs/elfutils/patches/009-no-fts.patch rename to srcpkgs/elfutils/files/009-no-fts.patch diff --git a/srcpkgs/elfutils/template b/srcpkgs/elfutils/template index 1f02688714..571a6bf223 100644 --- a/srcpkgs/elfutils/template +++ b/srcpkgs/elfutils/template @@ -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 '//d' backends/*_initreg.c + case "$XBPS_TARGET_MACHINE" in + *-musl) patch -Np0 <${FILESDIR}/009-no-fts.patch + esac } do_configure() {