public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/i3blocks-contrib/, x11-misc/i3blocks-contrib/files/
Date: Tue,  8 Jun 2021 14:44:45 +0000 (UTC)	[thread overview]
Message-ID: <1623163476.2ddd26f1e9849014ce2ed03415df86f055dfc7f3.bkohler@gentoo> (raw)

commit:     2ddd26f1e9849014ce2ed03415df86f055dfc7f3
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  8 14:44:22 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Jun  8 14:44:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ddd26f1

x11-misc/i3blocks-contrib: fix direct gcc call

Closes: https://bugs.gentoo.org/794919
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 .../files/i3blocks-contrib-2.0.0-respect-CFLAGS.patch          | 10 ++++++++++
 x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild        |  7 ++++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/x11-misc/i3blocks-contrib/files/i3blocks-contrib-2.0.0-respect-CFLAGS.patch b/x11-misc/i3blocks-contrib/files/i3blocks-contrib-2.0.0-respect-CFLAGS.patch
index da72ecd10d8..764cd4b2b73 100644
--- a/x11-misc/i3blocks-contrib/files/i3blocks-contrib-2.0.0-respect-CFLAGS.patch
+++ b/x11-misc/i3blocks-contrib/files/i3blocks-contrib-2.0.0-respect-CFLAGS.patch
@@ -10,6 +10,16 @@
  $(P): $(OBJECTS)
 --- a/brightness/Makefile
 +++ b/brightness/Makefile
+@@ -1,6 +1,6 @@
+-CC=gcc
+-AS=as
+-LD=ld
++CC ?= gcc
++AS ?= as
++LD ?= ld
+ OBJDUMP=objdump
+ OBJCOPY=objcopy
+ SIZE=size
 @@ -16,14 +16,14 @@
  
  PRG = brightness

diff --git a/x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild b/x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild
index 51f71d6cbff..88dab674b53 100644
--- a/x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild
+++ b/x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit optfeature
+inherit optfeature toolchain-funcs
 
 DESCRIPTION="A set of scripts for i3blocks, contributed by the community"
 HOMEPAGE="https://github.com/vivien/i3blocks-contrib"
@@ -24,6 +24,11 @@ src_prepare() {
 	default
 }
 
+src_compile() {
+	tc-export AR CC LD
+	default
+}
+
 src_install() {
 	emake DESTDIR="${D}" PREFIX=/usr install
 }


             reply	other threads:[~2021-06-08 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08 14:44 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-27 17:56 [gentoo-commits] repo/gentoo:master commit in: x11-misc/i3blocks-contrib/, x11-misc/i3blocks-contrib/files/ Ben Kohler
2021-06-08 12:18 Ben Kohler
2021-02-02 13:23 Ben Kohler

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=1623163476.2ddd26f1e9849014ce2ed03415df86f055dfc7f3.bkohler@gentoo \
    --to=bkohler@gentoo.org \
    --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