public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kristian Benoit <kbenoit@opersys.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] [patch] Busybox interactive config in pkg_config
Date: Fri, 15 Jul 2005 10:22:41 -0400	[thread overview]
Message-ID: <1121437361.5993.35.camel@localhost> (raw)
In-Reply-To: <200507142338.16057.vapier@gentoo.org>

On Thu, 2005-07-14 at 23:38 -0400, Mike Frysinger wrote:
> On Thursday 14 July 2005 09:21 pm, Kristian Benoit wrote:
> > As I just fixed the pkg_config (see on gentoo-dev mailinglist) to allow
> > more interactiveness, I modified busybox's ebuild accordingly. So now
> > one could:
> >
> > $ ebuild /path/to/busybox.ebuild unpack
> > $ ebuild /path/to/busybox.ebuild config # which pop a menuconfig
> > $ ebuild /path/to/busybox.ebuild merge
> 
> wrong use of pkg_config imo

I share the same opinion, but it's a solution with the "actual" portage
version that allow someone to make menuconfig from an ebuild so the user
can pre-configure the package without doiing most of the job by hand.

> pkg_config is for post-emerge configuration
> 
> what you want is a new function called 'src_config' which has been proposed 
> recently

As make menuconfig is part of the build process and not a
post-configuration like pkg_config is, I sent another patch with a
src_preconfig (on gentoo-dev). See:
http://marc.theaimsgroup.com/?l=gentoo-dev&m=112143274103251&w=2
For src_config, it wont be there to run interactive stuff, but for
splitting src_compile in src_config and src_compile as non interactive
task. src_preconfig is there for optional interactiveness between
src_unpack and src_compile.

Imo, src_preconfig is way better, but some people dont seem to share my
opinion so I found this hack which allow a user to configure it without
doiing all the job by hand.

Thank for your feed back.

Kristian

-- 
gentoo-embedded@gentoo.org mailing list



      reply	other threads:[~2005-07-15 14:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-15  1:21 [gentoo-embedded] [patch] Busybox interactive config in pkg_config Kristian Benoit
2005-07-15  3:38 ` Mike Frysinger
2005-07-15 14:22   ` Kristian Benoit [this message]

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=1121437361.5993.35.camel@localhost \
    --to=kbenoit@opersys.com \
    --cc=gentoo-embedded@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