summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-04-21 10:25:06 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-04-21 10:25:06 -0700
commit171516d5feaa67ab1408c6df4cce01467e8d918c (patch)
tree876497dcfc1b4aa02ecfd1d706b268d70fab7f46
parentsys-devel/dev86: fix which CC (diff)
downloadgentoo-171516d5feaa67ab1408c6df4cce01467e8d918c.tar.gz
gentoo-171516d5feaa67ab1408c6df4cce01467e8d918c.tar.bz2
gentoo-171516d5feaa67ab1408c6df4cce01467e8d918c.zip
net-misc/bridge-utils: fix hardcoded ar
Closes: https://bugs.gentoo.org/show_bug.cgi?id=717700 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--net-misc/bridge-utils/bridge-utils-1.5.ebuild4
-rw-r--r--net-misc/bridge-utils/bridge-utils-1.6.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/net-misc/bridge-utils/bridge-utils-1.5.ebuild b/net-misc/bridge-utils/bridge-utils-1.5.ebuild
index db1eb2d66e3c..d48b3a0242bc 100644
--- a/net-misc/bridge-utils/bridge-utils-1.5.ebuild
+++ b/net-misc/bridge-utils/bridge-utils-1.5.ebuild
@@ -41,6 +41,10 @@ src_configure() {
--with-linux-headers="$(get_headers)"
}
+src_compile() {
+ emake AR=$(tc-getAR)
+}
+
src_install() {
emake install DESTDIR="${D}"
dodoc AUTHORS ChangeLog README THANKS TODO \
diff --git a/net-misc/bridge-utils/bridge-utils-1.6.ebuild b/net-misc/bridge-utils/bridge-utils-1.6.ebuild
index 1e911905bc21..a371017e1588 100644
--- a/net-misc/bridge-utils/bridge-utils-1.6.ebuild
+++ b/net-misc/bridge-utils/bridge-utils-1.6.ebuild
@@ -44,6 +44,10 @@ src_configure() {
econf "${myeconfargs[@]}"
}
+src_compile() {
+ emake AR=$(tc-getAR)
+}
+
src_install() {
emake install DESTDIR="${D}"
dodoc AUTHORS ChangeLog README THANKS TODO \