commit:     4f8c49d13e49fc5818e759e3b6f6b4020a8b49cc
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Apr 29 19:01:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 01:08:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8c49d1

mail-mta/nullmailer: Set environment variables AR and RANLIB.

The build systems falls back to `ar` and `ranlib` otherwise.

Closes: https://bugs.gentoo.org/668850
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/20604
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild 
b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index d92c894e445a..f06e6f5c175b 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic systemd
+inherit autotools flag-o-matic systemd toolchain-funcs
 
 DESCRIPTION="Simple relay-only local mail transport agent"
 HOMEPAGE="http://untroubled.org/nullmailer/ 
https://github.com/bruceg/nullmailer";
@@ -73,6 +73,11 @@ src_configure() {
                $(use_enable ssl tls)
 }
 
+src_compile() {
+       tc-export AR RANLIB
+       default
+}
+
 src_install() {
        default
 

Reply via email to