Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/libb2/
Date: Wed, 05 Jun 2019 09:31:09
Message-Id: 1559727057.c872ec9942b167d7d42c7d748c88a0827c52f022.grobian@gentoo
1 commit: c872ec9942b167d7d42c7d748c88a0827c52f022
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 5 09:30:47 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 5 09:30:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c872ec99
7
8 app-crypt/libb2: fix check to respect CFLAGS, thanks jer
9
10 Closes: https://bugs.gentoo.org/687412
11 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
12 Package-Manager: Portage-2.3.66, Repoman-2.3.11
13
14 app-crypt/libb2/libb2-0.98.1.ebuild | 13 +++++++++++--
15 1 file changed, 11 insertions(+), 2 deletions(-)
16
17 diff --git a/app-crypt/libb2/libb2-0.98.1.ebuild b/app-crypt/libb2/libb2-0.98.1.ebuild
18 index 1f7105ca478..440bcd1bb91 100644
19 --- a/app-crypt/libb2/libb2-0.98.1.ebuild
20 +++ b/app-crypt/libb2/libb2-0.98.1.ebuild
21 @@ -45,9 +45,18 @@ src_configure() {
22 $(use_enable openmp)
23 }
24
25 -src_compile() {
26 +do_make() {
27 # respect our CFLAGS when native-cflags is not in effect
28 - emake $(use native-cflags && echo no)CFLAGS="${CFLAGS}"
29 + local openmp=$(use openmp && echo -fopenmp)
30 + emake $(use native-cflags && echo no)CFLAGS="${CFLAGS} ${openmp}" "$@"
31 +}
32 +
33 +src_compile() {
34 + do_make
35 +}
36 +
37 +src_test() {
38 + do_make check
39 }
40
41 src_install() {