commit: 8c3835f3329c3e86b488a2521d25bd1f1c9be6c3 Author: Maciej Barć <xgqt <AT> riseup <DOT> net> AuthorDate: Sat Apr 24 12:56:28 2021 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Sat Apr 24 12:56:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c3835f3
net-fs/httpdirfs: fix cc QA issue Closes: https://bugs.gentoo.org/785127 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt <AT> riseup.net> net-fs/httpdirfs/httpdirfs-1.2.0.ebuild | 8 +++++++- net-fs/httpdirfs/httpdirfs-9999.ebuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild b/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild index 0ac20788a..9289a9f95 100644 --- a/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild +++ b/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="Filesystem to mount HTTP directory listings, with a permanent cache" HOMEPAGE="https://github.com/fangfufu/httpdirfs" @@ -30,6 +32,10 @@ DEPEND=" " RDEPEND="${DEPEND}" +src_compile () { + emake CC="$(tc-getCC)" +} + src_install() { - emake prefix="${D}"/usr install + emake prefix="${D}/usr" install } diff --git a/net-fs/httpdirfs/httpdirfs-9999.ebuild b/net-fs/httpdirfs/httpdirfs-9999.ebuild index 0ac20788a..9289a9f95 100644 --- a/net-fs/httpdirfs/httpdirfs-9999.ebuild +++ b/net-fs/httpdirfs/httpdirfs-9999.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="Filesystem to mount HTTP directory listings, with a permanent cache" HOMEPAGE="https://github.com/fangfufu/httpdirfs" @@ -30,6 +32,10 @@ DEPEND=" " RDEPEND="${DEPEND}" +src_compile () { + emake CC="$(tc-getCC)" +} + src_install() { - emake prefix="${D}"/usr install + emake prefix="${D}/usr" install }
