From: Mike Gilbert <floppym@gentoo.org>
To: Gentoo Dev <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] [PATCH 1/7] xorg-2.eclass: drop autotools-utils
Date: Sun, 17 Apr 2016 10:45:08 -0400 [thread overview]
Message-ID: <CAJ0EP40FiWyvYFTy1PyvfgDYh=UV1kB1hOxax=fqHe8f8RsMhw@mail.gmail.com> (raw)
In-Reply-To: <8F3C6678-F152-41B6-A37F-23517C01D88F@gentoo.org>
On Sun, Apr 17, 2016 at 10:31 AM, Ian Stakenvicius <axs@gentoo.org> wrote:
>
>
> Sent from an iPhone, sorry for the HTML...
>
>> On Apr 17, 2016, at 10:13 AM, Mike Gilbert <floppym@gentoo.org> wrote:
>>
>> @@ -487,10 +497,17 @@ xorg-2_src_configure() {
>> xorg-2_src_compile() {
>> debug-print-function ${FUNCNAME} "$@"
>>
>> + local makeargs=( "$@" )
>> +
>> if [[ ${XORG_MULTILIB} == yes ]]; then
>> - autotools-multilib_src_compile "$@"
>> + if ! declare -f multilib_src_compile >/dev/null; then
>> + multilib_src_compile() {
>> + emake "${makeargs[@]}"
>> + }
>> + fi
>> + multilib-minimal_src_compile
>> else
>> - autotools-utils_src_compile "$@"
>> + emake "${makeargs[@]}"
>> fi
>> }
>
> Does the src_compile code need to be as complex as this? Why not just a 'if $XORG_MULTILIB ; then multilib-minimal_src_compile "$@"; else emake "$@"; fi '?
>
> ...or even 'default' instead of emake...?
multilib-mininmal_src_compile and default_src_comple do not provide
any method to pass arguments to emake. If I recall correctly, there is
at least one ebuild that needs to do so.
next prev parent reply other threads:[~2016-04-17 14:45 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-17 14:13 [gentoo-dev] [PATCH 0/7] Dropping autotools-utils from xorg-2 Mike Gilbert
2016-04-17 14:13 ` [gentoo-dev] [PATCH 1/7] xorg-2.eclass: drop autotools-utils Mike Gilbert
2016-04-17 14:31 ` Ian Stakenvicius
2016-04-17 14:45 ` Mike Gilbert [this message]
2016-04-17 14:50 ` Ian Stakenvicius
2016-04-17 15:05 ` Mike Gilbert
2016-04-17 16:23 ` Michał Górny
2016-04-17 14:13 ` [gentoo-dev] [PATCH 2/7] x11-base/xorg-server: remove reference to AUTOTOOLS_BUILD_DIR Mike Gilbert
2016-04-17 14:13 ` [gentoo-dev] [PATCH 3/7] x11-apps/intel-gpu-tools: " Mike Gilbert
2016-04-17 14:13 ` [gentoo-dev] [PATCH 4/7] x11-proto/xcb-proto: drop autotools-utils Mike Gilbert
2016-04-17 14:13 ` [gentoo-dev] [PATCH 5/7] x11-apps/xauth: " Mike Gilbert
2016-04-17 14:13 ` [gentoo-dev] [PATCH 6/7] x11-libs/glamor: " Mike Gilbert
2016-04-17 14:13 ` [gentoo-dev] [PATCH 7/7] x11-libs/xpyb: set XORG_EAUTORECONF instead of AUTOTOOLS_AUTORECONF Mike Gilbert
2016-04-17 14:37 ` [gentoo-dev] [PATCH 0/7] Dropping autotools-utils from xorg-2 Ian Stakenvicius
2016-04-17 14:50 ` Mike Gilbert
2016-04-17 16:24 ` Michał Górny
2016-04-17 18:36 ` Mike Gilbert
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='CAJ0EP40FiWyvYFTy1PyvfgDYh=UV1kB1hOxax=fqHe8f8RsMhw@mail.gmail.com' \
--to=floppym@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