commit: 2b0956caa6c4f33cfd6641f783b3bb550fb7ef5a Author: Theo Anderson <telans <AT> posteo <DOT> de> AuthorDate: Wed Apr 28 02:50:12 2021 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Wed Apr 28 02:50:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b0956ca
app-misc/afetch: respect CFLAGS/LDFLAGS Closes: https://bugs.gentoo.org/780762 Signed-off-by: Theo Anderson <telans <AT> posteo.de> app-misc/afetch/afetch-2.1.0.ebuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app-misc/afetch/afetch-2.1.0.ebuild b/app-misc/afetch/afetch-2.1.0.ebuild index 377e2194e..f8f6f7f09 100644 --- a/app-misc/afetch/afetch-2.1.0.ebuild +++ b/app-misc/afetch/afetch-2.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit savedconfig toolchain-funcs +inherit savedconfig DESCRIPTION="Simple system info written in C" HOMEPAGE="https://github.com/13-CF/afetch/" @@ -14,16 +14,13 @@ SLOT="0" KEYWORDS="~amd64" IUSE="savedconfig" -src_compile() { - emake CC="$(tc-getCC)" DESTDIR="${ED}" PREFIX="${EPREFIX}"/usr afetch -} - src_prepare() { default + sed -e '/^CFLAGS/d' -e 's/LDFLAGS =/LDFLAGS +=/' -i Makefile || die restore_config src/config.h } src_install() { - default + emake DESTDIR="${D}" PREFIX="/usr" install save_config src/config.h }
