diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-26 18:14:09 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-26 18:16:45 -0800 |
commit | b53a800ff3ce2d0ab0b0e6ce7e457abf391c1f1b (patch) | |
tree | eca106440599b8da6db88bf1dc0c7fc0cd847094 /net-analyzer/netdata | |
parent | net-analyzer/netdata: fix build on ppc64be, pass -mno-vsx (diff) | |
download | gentoo-b53a800ff3ce2d0ab0b0e6ce7e457abf391c1f1b.tar.gz gentoo-b53a800ff3ce2d0ab0b0e6ce7e457abf391c1f1b.tar.bz2 gentoo-b53a800ff3ce2d0ab0b0e6ce7e457abf391c1f1b.zip |
net-analyzer/netdata: sync fixes to live ebuild
sync minor SRC_URI change too, just in case.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-analyzer/netdata')
-rw-r--r-- | net-analyzer/netdata/netdata-9999.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index 3de159430f88..2acb180f99b4 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-9999.ebuild @@ -4,14 +4,14 @@ EAPI=7 PYTHON_COMPAT=( python{3_8,3_9,3_10} ) -inherit autotools fcaps linux-info python-single-r1 systemd +inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/netdata/${PN}.git" inherit git-r3 else - SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-v${PV}" + SRC_URI="https://github.com/netdata/${PN}/releases/download/${PV}/${PN}-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${PV}" KEYWORDS="~amd64 ~ppc64 ~x86" fi @@ -92,6 +92,12 @@ src_prepare() { } src_configure() { + if use ppc64; then + # bundled dlib does not support vsx on big-endian + # https://github.com/davisking/dlib/issues/397 + [[ $(tc-endian) == big ]] && append-flags -mno-vsx + fi + econf \ --localstatedir="${EPREFIX}"/var \ --with-user=netdata \ |