commit:     d65a3ae8fbb248d8c8d13732e9d6406aa6710a44
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Thu Apr 29 22:27:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May  4 22:17:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65a3ae8

sys-fs/archivemount: Respect CFLAGS

Closes: https://bugs.gentoo.org/725998
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/archivemount/archivemount-0.8.12.ebuild | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/sys-fs/archivemount/archivemount-0.8.12.ebuild 
b/sys-fs/archivemount/archivemount-0.8.12.ebuild
index d987a19f01e..793dfba16b5 100644
--- a/sys-fs/archivemount/archivemount-0.8.12.ebuild
+++ b/sys-fs/archivemount/archivemount-0.8.12.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit autotools
+
 DESCRIPTION="Mount archives using libarchive and FUSE"
 HOMEPAGE="https://www.cybernoia.de/software/archivemount.html 
https://github.com/cybernoid/archivemount";
 SRC_URI="https://www.cybernoia.de/software/archivemount/${P}.tar.gz";
@@ -11,7 +13,16 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-RDEPEND="app-arch/libarchive:=
+RDEPEND="
+       app-arch/libarchive:=
        sys-fs/fuse:0"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+       default
+
+       # https://bugs.gentoo.org/725998
+       sed -i -e 's/CFLAGS=//g' configure.ac || die
+       eautoreconf
+}

Reply via email to