From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/i2bits/
Date: Wed, 3 Jun 2020 20:54:29 +0000 (UTC) [thread overview]
Message-ID: <1591217645.d6a49de56b25c8e4980690704a1df9cee20675ca.monsieurp@gentoo> (raw)
commit: d6a49de56b25c8e4980690704a1df9cee20675ca
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 3 19:48:27 2020 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jun 3 20:54:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a49de5
app-misc/i2bits: honor CFLAGS.
Closes: https://bugs.gentoo.org/722396
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-misc/i2bits/i2bits-0.1.0.ebuild | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/app-misc/i2bits/i2bits-0.1.0.ebuild b/app-misc/i2bits/i2bits-0.1.0.ebuild
index 4bb902c770b..e877529fb90 100644
--- a/app-misc/i2bits/i2bits-0.1.0.ebuild
+++ b/app-misc/i2bits/i2bits-0.1.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit cmake-utils
+inherit cmake-utils toolchain-funcs
DESCRIPTION="Utility to convert hex or dec to binary format"
HOMEPAGE="https://bitbucket.org/PascalRD/i2bits/"
@@ -12,3 +12,11 @@ SRC_URI="http://unixdev.ru/src/${P}.tar.gz"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
+
+src_prepare() {
+ sed -e "s/^set(CMAKE_C_FLAGS.*/set(CMAKE_C_FLAGS \"${CFLAGS}\")/" \
+ -e "1s/^/project(${PN})\n/" \
+ -i CMakeLists.txt || die "can't patch CMakeLists.txt"
+
+ cmake-utils_src_prepare
+}
next reply other threads:[~2020-06-03 20:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 20:54 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-25 2:09 [gentoo-commits] repo/gentoo:master commit in: app-misc/i2bits/ Sam James
2024-06-23 20:17 Sam James
2024-06-23 19:49 Conrad Kostecki
2022-02-27 15:33 Patrice Clement
2022-02-27 15:33 Patrice Clement
2019-06-01 21:56 Patrice Clement
2019-06-01 21:56 Patrice Clement
2017-02-06 23:11 Patrice Clement
2017-02-06 13:31 Patrice Clement
2017-01-09 22:56 Patrice Clement
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=1591217645.d6a49de56b25c8e4980690704a1df9cee20675ca.monsieurp@gentoo \
--to=monsieurp@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