From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 245EB1382C5 for ; Wed, 28 Apr 2021 03:15:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0E17E0867; Wed, 28 Apr 2021 03:15:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F461E0863 for ; Wed, 28 Apr 2021 03:15:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D001D340A60 for ; Wed, 28 Apr 2021 03:15:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39D17733 for ; Wed, 28 Apr 2021 03:15:33 +0000 (UTC) From: "Theo Anderson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Anderson" Message-ID: <1619578212.2b0956caa6c4f33cfd6641f783b3bb550fb7ef5a.telans@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/afetch/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/afetch/afetch-2.1.0.ebuild X-VCS-Directories: app-misc/afetch/ X-VCS-Committer: telans X-VCS-Committer-Name: Theo Anderson X-VCS-Revision: 2b0956caa6c4f33cfd6641f783b3bb550fb7ef5a X-VCS-Branch: dev Date: Wed, 28 Apr 2021 03:15:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d69faf63-a1d3-4467-bfbc-3ae5f29ab2c3 X-Archives-Hash: f40957d6bc5e19234df58bb9014f1ea3 commit: 2b0956caa6c4f33cfd6641f783b3bb550fb7ef5a Author: Theo Anderson posteo de> AuthorDate: Wed Apr 28 02:50:12 2021 +0000 Commit: Theo Anderson posteo 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 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 }