commit:     17d8fd791177ed3b212deb9a2ca10a7a332b6092
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Thu Oct 24 10:13:18 2024 +0000
Commit:     Nicolas PARLANT <ppn <AT> parhuet <DOT> fr>
CommitDate: Thu Oct 24 10:13:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17d8fd79

net-mail/dovecot-fts-flatcurve: clean CFLAGS from upstream

Closes: https://bugs.gentoo.org/942055
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>

 net-mail/dovecot-fts-flatcurve/dovecot-fts-flatcurve-1.0.5.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-mail/dovecot-fts-flatcurve/dovecot-fts-flatcurve-1.0.5.ebuild 
b/net-mail/dovecot-fts-flatcurve/dovecot-fts-flatcurve-1.0.5.ebuild
index 0c5ead709..95d044c84 100644
--- a/net-mail/dovecot-fts-flatcurve/dovecot-fts-flatcurve-1.0.5.ebuild
+++ b/net-mail/dovecot-fts-flatcurve/dovecot-fts-flatcurve-1.0.5.ebuild
@@ -23,6 +23,12 @@ RDEPEND="${DEPEND}"
 
 src_prepare() {
        default
+
+       sed \
+               -e 's/CFLAGS="$CFLAGS $EXTRA_CFLAGS"/CFLAGS=""/' \
+               -e 's/CFLAGS="$CFLAGS /CFLAGS="/' \
+               -i configure.ac || die
+
        eautoreconf
 }
 

Reply via email to