public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boehm-gc/
Date: Wed, 10 May 2017 22:35:51 +0000 (UTC)	[thread overview]
Message-ID: <1494455741.a0dc3491f9924262a600533744150277899fb521.soap@gentoo> (raw)

commit:     a0dc3491f9924262a600533744150277899fb521
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed May 10 20:41:03 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed May 10 22:35:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0dc3491

dev-libs/boehm-gc: Make multilib compatible

Bug: https://bugs.gentoo.org/show_bug.cgi?id=617788
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild b/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild
index 1f62ca853c4..cab00ef0303 100644
--- a/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild
+++ b/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit ltprune
+inherit multilib-minimal
 
 MY_P="gc-${PV}"
 
@@ -16,35 +16,39 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="cxx static-libs threads"
 
-DEPEND=">=dev-libs/libatomic_ops-7.4
+DEPEND="
+	>=dev-libs/libatomic_ops-7.4[${MULTILIB_USEDEP}]
 	virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
-src_configure() {
+multilib_src_configure() {
 	local config=(
 		--with-libatomic-ops
 		$(use_enable cxx cplusplus)
 		$(use_enable static-libs static)
 		$(use threads || echo --disable-threads)
 	)
-	econf "${config[@]}"
+
+	ECONF_SOURCE=${S} econf "${config[@]}"
 }
 
-src_compile() {
+multilib_src_compile() {
 	# Workaround build errors. #574566
 	use ia64 && emake src/ia64_save_regs_in_stack.lo
 	use sparc && emake src/sparc_mach_dep.lo
 	default
 }
 
-src_install() {
-	default
-	use static-libs || prune_libtool_files
+multilib_src_install_all() {
+	local HTML_DOCS=( doc/*.html )
+	einstalldocs
+	dodoc doc/README{.environment,.linux,.macros}
+
+	rm -r "${ED%/}"/usr/share/gc || die
+
+	# package provides .pc files
+	find "${D}" -name '*.la' -delete || die
 
-	rm -r "${ED}"/usr/share/gc || die
-	dodoc README.QUICK doc/README{.environment,.linux,.macros}
-	docinto html
-	dodoc doc/*.html
 	newman doc/gc.man GC_malloc.1
 }


             reply	other threads:[~2017-05-10 22:35 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-10 22:35 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-12 20:46 [gentoo-commits] repo/gentoo:master commit in: dev-libs/boehm-gc/ Sam James
2024-11-09  9:02 Arthur Zamarin
2024-11-08  2:49 Sam James
2024-11-07  7:41 Sam James
2024-11-07  7:41 Sam James
2024-11-07  7:41 Sam James
2024-11-07  7:17 Sam James
2024-11-07  7:17 Sam James
2024-10-01 21:01 Matt Turner
2024-06-01  3:46 Ionen Wolkens
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-02-06  9:18 Sam James
2023-12-01 19:54 Arthur Zamarin
2023-09-08  0:12 Sam James
2023-09-07 23:03 Sam James
2023-09-07 23:03 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:16 Sam James
2023-05-31  5:05 Sam James
2023-05-31  5:05 Sam James
2023-05-31  5:05 Sam James
2022-11-25  9:11 Arthur Zamarin
2022-11-23 17:43 Jakov Smolić
2022-11-23  5:24 Arthur Zamarin
2022-11-23  4:16 Sam James
2022-11-23  4:16 Sam James
2022-11-23  4:16 Sam James
2022-11-23  4:05 Sam James
2022-11-23  4:01 Sam James
2022-08-27  6:14 Sam James
2022-08-27  6:14 Sam James
2022-05-04  7:07 WANG Xuerui
2022-05-02 23:03 WANG Xuerui
2022-05-01  2:22 WANG Xuerui
2021-12-08 19:09 Arthur Zamarin
2021-12-08 17:08 Arthur Zamarin
2021-12-06 15:20 Sam James
2021-12-05 20:12 Arthur Zamarin
2021-12-05 18:39 Sam James
2021-12-05 18:31 Sam James
2021-12-05  4:00 Sam James
2021-10-16  1:45 Sam James
2021-05-19 22:51 Sergei Trofimovich
2019-12-09 20:22 Sergei Trofimovich
2019-09-21  1:01 Matt Turner
2019-09-20  6:39 Sergei Trofimovich
2019-09-20  0:41 Aaron Bauman
2019-09-15 17:48 Sergei Trofimovich
2019-09-13 17:26 Mikle Kolyada
2019-09-13  7:45 Agostino Sarubbo
2019-09-11  4:56 Matt Turner
2019-09-10  7:10 Agostino Sarubbo
2019-09-10  7:00 Sergei Trofimovich
2019-09-10  6:56 Sergei Trofimovich
2019-09-10  6:51 Sergei Trofimovich
2019-09-09 17:23 Agostino Sarubbo
2019-05-05 10:59 Mikle Kolyada
2019-03-02  9:41 Sergei Trofimovich
2019-02-26  8:21 Sergei Trofimovich
2019-02-26  8:21 Sergei Trofimovich
2018-06-04  1:12 Aaron Bauman
2018-06-03 19:48 Mikle Kolyada
2018-05-03  5:49 Mart Raudsepp
2018-04-28  7:16 Mikle Kolyada
2018-04-28  5:34 Matt Turner
2018-04-24 18:55 Sergei Trofimovich
2018-04-23  2:20 Matt Turner
2018-04-23  2:20 Matt Turner
2018-04-22  6:33 Matt Turner
2018-04-21 22:18 Aaron Bauman
2018-04-21 20:58 Sergei Trofimovich
2018-04-21 19:46 Andreas Hüttel
2018-03-02  8:31 Michał Górny
2018-01-26 22:34 Mike Frysinger
2018-01-26 22:25 Mike Frysinger
2018-01-26 22:25 Mike Frysinger
2018-01-15 12:24 Lars Wendler
2018-01-15  5:15 Mike Frysinger
2017-06-14 21:33 Sergei Trofimovich
2017-05-10 16:14 Matthias Maier
2017-04-12 12:01 Tim Harder
2017-01-29 16:07 Fabian Groffen
2016-08-07  7:30 Pacho Ramos
2016-02-28  6:43 Matt Thode
2016-02-18  3:32 Mike Frysinger
2016-02-13 21:15 Mike Frysinger

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=1494455741.a0dc3491f9924262a600533744150277899fb521.soap@gentoo \
    --to=soap@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