1 |
commit: 8c3835f3329c3e86b488a2521d25bd1f1c9be6c3 |
2 |
Author: Maciej Barć <xgqt <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Apr 24 12:56:28 2021 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Sat Apr 24 12:56:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c3835f3 |
7 |
|
8 |
net-fs/httpdirfs: fix cc QA issue |
9 |
|
10 |
Closes: https://bugs.gentoo.org/785127 |
11 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
12 |
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net> |
13 |
|
14 |
net-fs/httpdirfs/httpdirfs-1.2.0.ebuild | 8 +++++++- |
15 |
net-fs/httpdirfs/httpdirfs-9999.ebuild | 8 +++++++- |
16 |
2 files changed, 14 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild b/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild |
19 |
index 0ac20788a..9289a9f95 100644 |
20 |
--- a/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild |
21 |
+++ b/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild |
22 |
@@ -3,6 +3,8 @@ |
23 |
|
24 |
EAPI=7 |
25 |
|
26 |
+inherit toolchain-funcs |
27 |
+ |
28 |
DESCRIPTION="Filesystem to mount HTTP directory listings, with a permanent cache" |
29 |
HOMEPAGE="https://github.com/fangfufu/httpdirfs" |
30 |
|
31 |
@@ -30,6 +32,10 @@ DEPEND=" |
32 |
" |
33 |
RDEPEND="${DEPEND}" |
34 |
|
35 |
+src_compile () { |
36 |
+ emake CC="$(tc-getCC)" |
37 |
+} |
38 |
+ |
39 |
src_install() { |
40 |
- emake prefix="${D}"/usr install |
41 |
+ emake prefix="${D}/usr" install |
42 |
} |
43 |
|
44 |
diff --git a/net-fs/httpdirfs/httpdirfs-9999.ebuild b/net-fs/httpdirfs/httpdirfs-9999.ebuild |
45 |
index 0ac20788a..9289a9f95 100644 |
46 |
--- a/net-fs/httpdirfs/httpdirfs-9999.ebuild |
47 |
+++ b/net-fs/httpdirfs/httpdirfs-9999.ebuild |
48 |
@@ -3,6 +3,8 @@ |
49 |
|
50 |
EAPI=7 |
51 |
|
52 |
+inherit toolchain-funcs |
53 |
+ |
54 |
DESCRIPTION="Filesystem to mount HTTP directory listings, with a permanent cache" |
55 |
HOMEPAGE="https://github.com/fangfufu/httpdirfs" |
56 |
|
57 |
@@ -30,6 +32,10 @@ DEPEND=" |
58 |
" |
59 |
RDEPEND="${DEPEND}" |
60 |
|
61 |
+src_compile () { |
62 |
+ emake CC="$(tc-getCC)" |
63 |
+} |
64 |
+ |
65 |
src_install() { |
66 |
- emake prefix="${D}"/usr install |
67 |
+ emake prefix="${D}/usr" install |
68 |
} |