aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Burch <eli.burch@burchbytes.com>2024-06-25 09:07:07 -0700
committerEli Burch <eli.burch@burchbytes.com>2024-06-25 09:08:14 -0700
commitaa92f59dede30ba7794af71301ea21f708bf4707 (patch)
treedcda21b46a57288276408a5cabb5b87bab7acc69 /dev-embedded
parentdev-util/catppuccin-catwalk: some more really small fixes (diff)
downloadguru-aa92f59dede30ba7794af71301ea21f708bf4707.tar.gz
guru-aa92f59dede30ba7794af71301ea21f708bf4707.tar.bz2
guru-aa92f59dede30ba7794af71301ea21f708bf4707.zip
dev-embedded/bcm2-utils: Call emake directly
Closes: https://bugs.gentoo.org/show_bug.cgi?id=934597 Closes: https://bugs.gentoo.org/show_bug.cgi?id=934598 Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/bcm2-utils/bcm2-utils-0.9.8.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-embedded/bcm2-utils/bcm2-utils-0.9.8.ebuild b/dev-embedded/bcm2-utils/bcm2-utils-0.9.8.ebuild
index 7d13fc4c0..60746ff4b 100644
--- a/dev-embedded/bcm2-utils/bcm2-utils-0.9.8.ebuild
+++ b/dev-embedded/bcm2-utils/bcm2-utils-0.9.8.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit toolchain-funcs
+
DESCRIPTION="Utilities for Broadcom-based cable modems"
HOMEPAGE="https://github.com/jclehner/bcm2-utils"
SRC_URI="https://github.com/jclehner/bcm2-utils/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -19,6 +21,11 @@ src_prepare(){
sed -i 's@shell git describe --always@shell git describe --always 2>/dev/null@' "Makefile" || die
}
+src_compile(){
+ emake CC=$(tc-getCC) CXX=$(tc-getCXX) CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} \
+ LDFLAGS=${LDFLAGS}
+}
+
src_install(){
mkdir -p "${D}/usr/bin" || die
emake PREFIX="${D}/usr" install