Am Montag, 12. August 2019, 23:10:56 CEST schrieb Michael Orlitzky:
> On 8/9/19 3:26 PM, Rolf Eike Beer wrote:
> > +   use ssl && epatch "${FILESDIR}"/qmail-smtputf8.patch
> 
> EAI doesn't require SSL as far as I know. Is this conditional on the USE
> flag only because the patch won't apply otherwise? (If so, it may be
> worth a comment to that effect.)

Yes, it's a problem with the patch, not EAI.

But nice that you tell me that I attached the wrong patch.

Eike
>From ff7224e595e2c1b5e293a1fc7991e70f68b04669 Mon Sep 17 00:00:00 2001
From: Rolf Eike Beer <e...@sf-mail.de>
Date: Wed, 7 Aug 2019 12:08:54 +0200
Subject: [PATCH] qmail.eclass: honor toolchain settings for ar and ranlib

Closes: https://bugs.gentoo.org/471436
Signed-off-by: Rolf Eike Beer <e...@sf-mail.de>
---
 eclass/qmail.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/qmail.eclass b/eclass/qmail.eclass
index 6ebbff442c..18f685e4db 100644
--- a/eclass/qmail.eclass
+++ b/eclass/qmail.eclass
@@ -102,6 +102,7 @@ qmail_set_cc() {
 
 	echo "${cc} ${CFLAGS} ${CPPFLAGS}"  > ./conf-cc || die 'Patching conf-cc failed.'
 	echo "${ld} ${LDFLAGS}" > ./conf-ld || die 'Patching conf-ld failed.'
+	sed -e "s#'ar #'$(tc-getAR) #" -e "s#'ranlib #'$(tc-getRANLIB) #" -i make-makelib.sh
 }
 
 # @FUNCTION: qmail_create_groups
-- 
2.16.4

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to