public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/capstone/
Date: Sat,  3 Sep 2016 14:01:17 +0000 (UTC)	[thread overview]
Message-ID: <1472911262.5917f76438cba881d0e8dbf8ccb1670b453ca0bb.slyfox@gentoo> (raw)

commit:     5917f76438cba881d0e8dbf8ccb1670b453ca0bb
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  3 14:00:55 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep  3 14:01:02 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5917f764

dev-libs/capstone: respect gentoo toolchain overrides, bug #592778

Respect AR, CC, CFLAGS, LDFLAGS, RANLIB, $libdir.
Thanks to Mike Auty who provided an example fix.

Reported-by: Mike Auty
Bug: https://bugs.gentoo.org/592778

Package-Manager: portage-2.3.0

 ...ne-3.0.4-r1.ebuild => capstone-3.0.4-r2.ebuild} | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/dev-libs/capstone/capstone-3.0.4-r1.ebuild b/dev-libs/capstone/capstone-3.0.4-r2.ebuild
similarity index 55%
rename from dev-libs/capstone/capstone-3.0.4-r1.ebuild
rename to dev-libs/capstone/capstone-3.0.4-r2.ebuild
index 018e9db..41855d1 100644
--- a/dev-libs/capstone/capstone-3.0.4-r1.ebuild
+++ b/dev-libs/capstone/capstone-3.0.4-r2.ebuild
@@ -4,6 +4,8 @@
 
 EAPI=6
 
+inherit toolchain-funcs
+
 DESCRIPTION="disassembly/disassembler framework + bindings"
 HOMEPAGE="http://www.capstone-engine.org/"
 SRC_URI="https://github.com/aquynh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -14,3 +16,23 @@ KEYWORDS="~amd64 ~x86"
 
 RDEPEND=""
 DEPEND="${RDEPEND}"
+
+src_configure() {
+	{
+		cat <<-EOF
+		# Gentoo overrides:
+		#   verbose build
+		V = 1
+		#   toolchain
+		AR = $(tc-getAR)
+		CC = $(tc-getCC)
+		RANLIB = $(tc-getRANLIB)
+		#  toolchain flags
+		CFLAGS = ${CFLAGS}
+		LDFLAGS = ${LDFLAGS}
+		#  libs
+		LIBDIRARCH = $(get_libdir)
+		EOF
+	} >> config.mk || die
+
+}


             reply	other threads:[~2016-09-03 14:01 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-03 14:01 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-15  5:27 [gentoo-commits] repo/gentoo:master commit in: dev-libs/capstone/ Sam James
2025-10-15  5:27 Sam James
2025-10-15  5:27 Sam James
2025-08-08  3:21 Sam James
2025-08-08  3:21 Sam James
2025-08-08  3:21 Sam James
2025-05-04 10:21 Sam James
2025-05-03 10:20 Arthur Zamarin
2025-05-01  7:34 Arthur Zamarin
2025-04-29 19:00 Sam James
2025-04-29 19:00 Sam James
2025-04-24 18:23 Sam James
2025-03-28 15:22 Sam James
2025-03-26  6:27 Sam James
2025-03-26  6:27 Sam James
2025-02-19 11:14 Sam James
2025-02-19 11:14 Sam James
2025-02-19 11:14 Sam James
2024-11-29 21:18 Eli Schwartz
2024-11-29 21:18 Eli Schwartz
2024-11-29 21:18 Eli Schwartz
2024-11-21 21:08 Arthur Zamarin
2024-11-19 12:06 Sam James
2024-11-19 12:06 Sam James
2024-11-02 12:46 Joonas Niilola
2024-10-05  7:54 Arthur Zamarin
2024-10-05  7:39 Michał Górny
2024-08-28  6:39 Joonas Niilola
2024-08-28  6:39 Joonas Niilola
2024-07-03  5:17 Ionen Wolkens
2024-06-02  0:41 Sam James
2024-06-02  0:41 Sam James
2024-01-03  6:22 Sam James
2023-10-04 21:56 Conrad Kostecki
2023-09-26 18:25 Sam James
2023-09-26 17:58 Sam James
2023-09-03 16:39 Sam James
2023-09-03 16:39 Sam James
2023-08-26  4:01 Sam James
2023-08-26  4:01 Sam James
2023-07-31  8:08 Joonas Niilola
2023-07-31  8:08 Joonas Niilola
2023-06-18 19:02 John Helmert III
2023-06-18 19:02 John Helmert III
2023-03-20 21:52 Sam James
2023-03-20 21:52 Sam James
2023-02-17 17:27 Viorel Munteanu
2023-01-20  0:03 Mike Frysinger
2023-01-14  8:04 Arthur Zamarin
2023-01-05  5:21 Sam James
2022-12-02 10:20 WANG Xuerui
2022-12-02 10:20 WANG Xuerui
2022-11-11  6:30 Sam James
2022-11-11  4:25 Sam James
2022-08-27  8:27 Sam James
2022-08-27  8:27 Sam James
2022-08-15 23:10 Sam James
2022-08-15 23:10 Sam James
2022-08-15 23:10 Sam James
2022-08-15 23:10 Sam James
2022-08-15 23:10 Sam James
2022-08-05  7:17 Joonas Niilola
2022-04-29  9:01 Joonas Niilola
2022-04-29  9:01 Joonas Niilola
2022-01-23  8:05 Yixun Lan
2021-10-27  6:37 Agostino Sarubbo
2021-10-27  6:35 Agostino Sarubbo
2021-07-23  7:33 Sergei Trofimovich
2021-07-03  7:09 Sergei Trofimovich
2021-05-15 13:58 Sergei Trofimovich
2020-11-10 23:49 Sergei Trofimovich
2020-09-01 18:13 Sergei Trofimovich
2020-09-01 18:13 Sergei Trofimovich
2020-07-05 10:56 Sergei Trofimovich
2020-05-29 22:13 Sergei Trofimovich
2020-05-20 17:53 Sergei Trofimovich
2020-05-08 18:44 Sergei Trofimovich
2020-03-23 23:58 Sergei Trofimovich
2020-02-12 22:32 Sergei Trofimovich
2019-10-02 17:53 Mike Auty
2019-09-18 22:12 Sergei Trofimovich
2019-08-05 12:41 Guilherme Amadio
2019-01-10 21:37 Sergei Trofimovich
2017-12-24 14:13 Sergei Trofimovich
2017-10-12 11:14 Sergei Trofimovich
2017-09-25 13:37 Pacho Ramos
2017-07-29  9:26 Sergei Trofimovich
2017-03-25 16:09 Sergei Trofimovich
2016-09-28 19:26 Richard Farina
2016-06-04 12:01 Sergei Trofimovich
2016-06-04 11:54 Sergei Trofimovich

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=1472911262.5917f76438cba881d0e8dbf8ccb1670b453ca0bb.slyfox@gentoo \
    --to=slyfox@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