From: "Francois-Xavier Carton" <fx.carton91@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/why3/
Date: Mon, 19 Apr 2021 01:20:35 +0000 (UTC) [thread overview]
Message-ID: <1618794931.556d223d1e4531cb91e44a21bba602ac92f2a25d.Francois-XavierCarton@gentoo> (raw)
commit: 556d223d1e4531cb91e44a21bba602ac92f2a25d
Author: François-Xavier Carton <fx.carton91 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 19 01:03:43 2021 +0000
Commit: Francois-Xavier Carton <fx.carton91 <AT> gmail <DOT> com>
CommitDate: Mon Apr 19 01:15:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=556d223d
sci-mathematics/why3: respect CFLAGS & LDFLAGS
Closes: https://bugs.gentoo.org/781650
Signed-off-by: François-Xavier Carton <fx.carton91 <AT> gmail.com>
sci-mathematics/why3/why3-1.3.3.ebuild | 3 +++
sci-mathematics/why3/why3-1.4.0.ebuild | 3 +++
2 files changed, 6 insertions(+)
diff --git a/sci-mathematics/why3/why3-1.3.3.ebuild b/sci-mathematics/why3/why3-1.3.3.ebuild
index b5665dc3a..b710f8a1a 100644
--- a/sci-mathematics/why3/why3-1.3.3.ebuild
+++ b/sci-mathematics/why3/why3-1.3.3.ebuild
@@ -39,6 +39,9 @@ src_prepare() {
mv doc/why.1 doc/why3.1 || die
mv configure.in configure.ac || die
sed -i 's/configure\.in/configure.ac/g' Makefile.in || die
+ sed -e '/^lib\/why3[a-z]*\$(EXE):/{n;s/-Wall/$(CFLAGS) $(LDFLAGS)/}' \
+ -e '/^%.o: %.c/{n;s/\$(CC).*-o/$(CC) $(CFLAGS) -o/}' \
+ -i Makefile.in || die
eautoreconf
eapply_user
}
diff --git a/sci-mathematics/why3/why3-1.4.0.ebuild b/sci-mathematics/why3/why3-1.4.0.ebuild
index d85c95cfc..7a1ab9ca4 100644
--- a/sci-mathematics/why3/why3-1.4.0.ebuild
+++ b/sci-mathematics/why3/why3-1.4.0.ebuild
@@ -41,6 +41,9 @@ DOCS=( CHANGES.md README.md )
src_prepare() {
mv configure.in configure.ac || die
sed -i 's/configure\.in/configure.ac/g' Makefile.in || die
+ sed -e '/^lib\/why3[a-z]*\$(EXE):/{n;s/-Wall/$(CFLAGS) $(LDFLAGS)/}' \
+ -e '/^%.o: %.c/{n;s/\$(CC).*-o/$(CC) $(CFLAGS) -o/}' \
+ -i Makefile.in || die
eautoreconf
eapply_user
}
next reply other threads:[~2021-04-19 1:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-19 1:20 Francois-Xavier Carton [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-15 10:35 [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/why3/ Andrew Ammerlaan
2021-10-01 13:16 Francois-Xavier Carton
2021-09-04 13:15 Francois-Xavier Carton
2021-03-30 19:37 Francois-Xavier Carton
2021-01-09 17:02 Francois-Xavier Carton
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=1618794931.556d223d1e4531cb91e44a21bba602ac92f2a25d.Francois-XavierCarton@gentoo \
--to=fx.carton91@gmail.com \
--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