public inbox for gentoo-proxy-maint@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
To: gentoo-proxy-maint@lists.gentoo.org
Cc: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
Subject: [gentoo-proxy-maint] [PATCH 2/2] app-editors/vis: Respect CC and CFLAGS in tests
Date: Sun, 10 May 2020 23:38:15 +0200	[thread overview]
Message-ID: <20200510213815.20041-2-contact@hacktivis.me> (raw)
In-Reply-To: <20200510213815.20041-1-contact@hacktivis.me>

Closes: https://bugs.gentoo.org/722014
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
---
 app-editors/vis/vis-0.5.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-editors/vis/vis-0.5.ebuild b/app-editors/vis/vis-0.5.ebuild
index ffaeafaa266..e7cf08742d4 100644
--- a/app-editors/vis/vis-0.5.ebuild
+++ b/app-editors/vis/vis-0.5.ebuild
@@ -32,6 +32,9 @@ src_prepare() {
 		if ! type -P vim &>/dev/null; then
 			sed -i 's/.*vim.*//' test/Makefile || die
 		fi
+
+		# https://bugs.gentoo.org/722014 https://github.com/martanne/vis-test/pull/22
+		sed -i 's;./ccan-config > config.h;./ccan-config "${CC}" ${CFLAGS} > config.h;' test/core/Makefile || die
 	fi
 
 	sed -i 's|STRIP?=.*|STRIP=true|' Makefile || die
-- 
2.26.2



  reply	other threads:[~2020-05-10 21:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-10 21:38 [gentoo-proxy-maint] [PATCH 1/2] app-editors/vis: Add -fcommon Haelwenn (lanodan) Monnier
2020-05-10 21:38 ` Haelwenn (lanodan) Monnier [this message]
2020-05-15 13:24 ` Joonas Niilola
2020-06-06 16:38   ` Joonas Niilola

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=20200510213815.20041-2-contact@hacktivis.me \
    --to=contact@hacktivis.me \
    --cc=gentoo-proxy-maint@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