commit:     84ca6a9211958d303a421d35c93bac1a5baaee86
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Dec 29 21:50:09 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Dec 31 02:39:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ca6a92

mail-filter/zdkimfilter: fix calling ar directly, bug #893258

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/893258
Closes: https://github.com/gentoo/gentoo/pull/34550
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 mail-filter/zdkimfilter/zdkimfilter-3.15.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/mail-filter/zdkimfilter/zdkimfilter-3.15.ebuild 
b/mail-filter/zdkimfilter/zdkimfilter-3.15.ebuild
index 495b98b46cd9..928a0c563b2b 100644
--- a/mail-filter/zdkimfilter/zdkimfilter-3.15.ebuild
+++ b/mail-filter/zdkimfilter/zdkimfilter-3.15.ebuild
@@ -2,9 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
+
+inherit toolchain-funcs
+
 DESCRIPTION="DKIM filter for Courier-MTA"
 HOMEPAGE="https://www.tana.it/sw/zdkimfilter";
 SRC_URI="https://www.tana.it/sw/zdkimfilter/${P}.tar.gz";
+
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -26,6 +30,10 @@ src_configure() {
        econf $(use_enable debug)
 }
 
+src_compile() {
+       emake AR=$(tc-getAR)
+}
+
 src_install() {
        emake DESTDIR="${D}" install
        diropts -o mail -g mail

Reply via email to