summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2020-09-05 13:59:57 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2020-09-05 14:05:18 +0300
commit44046f58059e057b3cddd7ce286cd71e6de81955 (patch)
tree61bd682b6538ba4b6af079b9cd2232b28ce326bc /dev-util/oprofile/oprofile-1.4.0.ebuild
parentx11-misc/xfishtank: Depend on media-libs/imlib2[X] (diff)
downloadgentoo-44046f58059e057b3cddd7ce286cd71e6de81955.tar.gz
gentoo-44046f58059e057b3cddd7ce286cd71e6de81955.tar.bz2
gentoo-44046f58059e057b3cddd7ce286cd71e6de81955.zip
dev-util/oprofile: fix build with musl
Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'dev-util/oprofile/oprofile-1.4.0.ebuild')
-rw-r--r--dev-util/oprofile/oprofile-1.4.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-util/oprofile/oprofile-1.4.0.ebuild b/dev-util/oprofile/oprofile-1.4.0.ebuild
index e881632d5f3b..485fdf66c1f0 100644
--- a/dev-util/oprofile/oprofile-1.4.0.ebuild
+++ b/dev-util/oprofile/oprofile-1.4.0.ebuild
@@ -20,7 +20,7 @@ BDEPEND="
CDEPEND="
>=dev-libs/popt-1.7-r1
sys-libs/binutils-libs:=
- >=sys-libs/glibc-2.3.2-r1
+ elibc_glibc? ( >=sys-libs/glibc-2.3.2-r1 )
ppc64? ( dev-libs/libpfm )
"
DEPEND="${CDEPEND}
@@ -46,6 +46,7 @@ pkg_setup() {
}
src_prepare() {
+ eapply "${FILESDIR}/musl.patch"
# bug 723092
sed -i 's/==/=/g' configure.ac || die