1 |
commit: 078ecf06a4f61864c028f4e5b53bec066f6db361 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Sat May 1 13:31:22 2021 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Sat May 1 14:02:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=078ecf06 |
7 |
|
8 |
sci-electronics/dsview: Set CC and AR. |
9 |
|
10 |
The build system would fall back to hardcoded defaults otherwise. |
11 |
|
12 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
13 |
|
14 |
sci-electronics/dsview/dsview-1.12.ebuild | 5 ++++- |
15 |
sci-electronics/dsview/dsview-9999.ebuild | 5 ++++- |
16 |
2 files changed, 8 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/sci-electronics/dsview/dsview-1.12.ebuild b/sci-electronics/dsview/dsview-1.12.ebuild |
19 |
index 4db6cf8c8..c166a7f9a 100644 |
20 |
--- a/sci-electronics/dsview/dsview-1.12.ebuild |
21 |
+++ b/sci-electronics/dsview/dsview-1.12.ebuild |
22 |
@@ -6,7 +6,7 @@ EAPI=7 |
23 |
PYTHON_COMPAT=( python3_{7,8,9} ) |
24 |
GITHUB_PN="DSView" |
25 |
|
26 |
-inherit autotools cmake python-r1 udev xdg |
27 |
+inherit autotools cmake python-r1 toolchain-funcs udev xdg |
28 |
|
29 |
DESCRIPTION="An open source multi-function instrument" |
30 |
HOMEPAGE=" |
31 |
@@ -52,6 +52,9 @@ PATCHES=( |
32 |
) |
33 |
|
34 |
src_prepare() { |
35 |
+ export CC="$(tc-getCC)" |
36 |
+ export AR="$(tc-getAR)" |
37 |
+ |
38 |
default |
39 |
|
40 |
local LIBDIR="/usr/$(get_libdir)" |
41 |
|
42 |
diff --git a/sci-electronics/dsview/dsview-9999.ebuild b/sci-electronics/dsview/dsview-9999.ebuild |
43 |
index 4db6cf8c8..c166a7f9a 100644 |
44 |
--- a/sci-electronics/dsview/dsview-9999.ebuild |
45 |
+++ b/sci-electronics/dsview/dsview-9999.ebuild |
46 |
@@ -6,7 +6,7 @@ EAPI=7 |
47 |
PYTHON_COMPAT=( python3_{7,8,9} ) |
48 |
GITHUB_PN="DSView" |
49 |
|
50 |
-inherit autotools cmake python-r1 udev xdg |
51 |
+inherit autotools cmake python-r1 toolchain-funcs udev xdg |
52 |
|
53 |
DESCRIPTION="An open source multi-function instrument" |
54 |
HOMEPAGE=" |
55 |
@@ -52,6 +52,9 @@ PATCHES=( |
56 |
) |
57 |
|
58 |
src_prepare() { |
59 |
+ export CC="$(tc-getCC)" |
60 |
+ export AR="$(tc-getAR)" |
61 |
+ |
62 |
default |
63 |
|
64 |
local LIBDIR="/usr/$(get_libdir)" |