public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/afetch/
Date: Wed, 28 Apr 2021 03:15:33 +0000 (UTC)	[thread overview]
Message-ID: <1619578212.2b0956caa6c4f33cfd6641f783b3bb550fb7ef5a.telans@gentoo> (raw)

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
 }


             reply	other threads:[~2021-04-28  3:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28  3:15 Theo Anderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06 13:38 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/afetch/ Takuya Wakazono
2024-02-12 23:35 Piotr Kubaj
2021-06-29 12:46 Mathieu Tortuyaux
2021-04-23  7:16 Mathieu Tortuyaux
2021-03-28  9:39 Andrew Ammerlaan
2021-03-27 18:36 Mathieu Tortuyaux
2021-03-26 18:11 Andrew Ammerlaan
2021-03-26 16:38 Mathieu Tortuyaux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1619578212.2b0956caa6c4f33cfd6641f783b3bb550fb7ef5a.telans@gentoo \
    --to=telans@posteo.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox