From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-proto/xcb-proto/
Date: Fri, 23 May 2014 22:38:06 +0000 (UTC) [thread overview]
Message-ID: <1400884674.264f3bc8857ce2e6be6bb6ad7e25a4722d1f6e0c.mgorny@gentoo> (raw)
commit: 264f3bc8857ce2e6be6bb6ad7e25a4722d1f6e0c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 23 22:37:54 2014 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 23 22:37:54 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=264f3bc8
x11-proto/xcb-proto: Fix inlining multilib BUILD_DIR logic, use sub-phase functions instead. Fixes bug #511142.
Package-Manager: portage-2.2.10
---
x11-proto/xcb-proto/xcb-proto-9999.ebuild | 36 +++++++++++++++++++++----------
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/x11-proto/xcb-proto/xcb-proto-9999.ebuild b/x11-proto/xcb-proto/xcb-proto-9999.ebuild
index 1449375..818087e 100644
--- a/x11-proto/xcb-proto/xcb-proto-9999.ebuild
+++ b/x11-proto/xcb-proto/xcb-proto-9999.ebuild
@@ -25,26 +25,40 @@ DEPEND="${RDEPEND}
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_configure() {
- python_export_best
+ python_setup
xorg-2_src_configure
- #Note: multilib is not supported with python, therefore use only one ABI
- python_parallel_foreach_impl autotools-utils_src_configure
}
-src_compile() {
- xorg-2_src_compile
+multilib_src_configure() {
+ autotools-utils_src_configure
- python_foreach_impl autotools-utils_src_compile -C xcbgen \
- top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
+ if multilib_is_native_abi; then
+ python_parallel_foreach_impl autotools-utils_src_configure
+ fi
+}
+
+multilib_src_compile() {
+ default
+
+ if multilib_is_native_abi; then
+ python_foreach_impl autotools-utils_src_compile -C xcbgen \
+ top_builddir="${BUILD_DIR}"
+ fi
}
src_install() {
xorg-2_src_install
- python_foreach_impl autotools-utils_src_install -C xcbgen \
- top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
-
- # pkg-config file hardcodes python sitedir, bug #486512
+ # pkg-config file hardcodes python sitedir, bug 486512
sed -i -e '/pythondir/s:=.*$:=/dev/null:' \
"${ED}"/usr/lib*/pkgconfig/xcb-proto.pc || die
}
+
+multilib_src_install() {
+ default
+
+ if multilib_is_native_abi; then
+ python_foreach_impl autotools-utils_src_install -C xcbgen \
+ top_builddir="${BUILD_DIR}"
+ fi
+}
next reply other threads:[~2014-05-23 22:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-23 22:38 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-29 19:31 [gentoo-commits] proj/x11:master commit in: x11-proto/xcb-proto/ Chí-Thanh Christopher Nguyễn
2014-11-03 22:45 Remi Cardona
2014-10-06 11:46 Chi-Thanh Christopher Nguyen
2014-10-04 20:54 David Heidelberger
2014-02-11 13:03 Chi-Thanh Christopher Nguyen
2014-01-26 19:10 Matt Turner
2014-01-19 18:23 Alexey Shvetsov
2013-11-09 9:10 Michał Górny
2013-11-09 8:55 Michał Górny
2013-09-29 20:53 Michał Górny
2013-09-24 7:04 Michał Górny
2013-02-25 23:09 Michał Górny
2012-03-10 1:17 Chi-Thanh Christopher Nguyen
2012-01-12 12:50 Chi-Thanh Christopher Nguyen
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=1400884674.264f3bc8857ce2e6be6bb6ad7e25a4722d1f6e0c.mgorny@gentoo \
--to=mgorny@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