aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-fs/httpdirfs/httpdirfs-1.2.0.ebuild8
-rw-r--r--net-fs/httpdirfs/httpdirfs-9999.ebuild8
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
}