Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xxhash/
Date: Sat, 08 Sep 2018 11:30:50
Message-Id: 1536406241.97af34fac31a8106b199b468309c22d797fbbbc1.jer@gentoo
1 commit: 97af34fac31a8106b199b468309c22d797fbbbc1
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 8 11:30:05 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 8 11:30:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97af34fa
7
8 dev-libs/xxhash: Mark ~hppa too.
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11 RepoMan-Options: --ignore-arches
12
13 dev-libs/xxhash/xxhash-0.6.5.ebuild | 9 ++++++---
14 1 file changed, 6 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-libs/xxhash/xxhash-0.6.5.ebuild b/dev-libs/xxhash/xxhash-0.6.5.ebuild
17 index 2b31be40a06..f23c18c478a 100644
18 --- a/dev-libs/xxhash/xxhash-0.6.5.ebuild
19 +++ b/dev-libs/xxhash/xxhash-0.6.5.ebuild
20 @@ -2,8 +2,7 @@
21 # Distributed under the terms of the GNU General Public License v2
22
23 EAPI=6
24 -
25 -inherit toolchain-funcs
26 +inherit flag-o-matic toolchain-funcs
27
28 DESCRIPTION="Extremely fast non-cryptographic hash algorithm"
29 HOMEPAGE="http://www.xxhash.com"
30 @@ -11,13 +10,17 @@ SRC_URI="https://github.com/Cyan4973/xxHash/archive/v${PV}.tar.gz -> ${P}.tar.gz
31
32 LICENSE="BSD-2 GPL-2+"
33 SLOT="0"
34 -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x64-macos"
35 +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x64-macos"
36 IUSE="static-libs"
37
38 DEPEND=""
39
40 S="${WORKDIR}/xxHash-${PV}"
41
42 +src_configure() {
43 + use hppa && replace-flags '-O*' '-O0'
44 +}
45 +
46 src_compile() {
47 PREFIX="${EPREFIX}/usr" \
48 LIBDIR="${EPREFIX}/usr/$(get_libdir)" \