From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DtR7p-0003IY-2k for garchives@archives.gentoo.org; Fri, 15 Jul 2005 14:25:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6FEOMKV020804; Fri, 15 Jul 2005 14:24:22 GMT Received: from www.opersys.com (opersys.com [64.40.108.71]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6FEOKYk001837 for ; Fri, 15 Jul 2005 14:24:21 GMT Received: from [192.168.172.55] (modemcable172.15-70-69.static.videotron.ca [69.70.15.172]) by www.opersys.com (8.9.3/8.9.3) with ESMTP id IAA30659 for ; Fri, 15 Jul 2005 08:02:58 -0700 Subject: Re: [gentoo-embedded] [patch] Busybox interactive config in pkg_config From: Kristian Benoit To: gentoo-embedded@lists.gentoo.org In-Reply-To: <200507142338.16057.vapier@gentoo.org> References: <1121390481.5971.128.camel@localhost> <200507142338.16057.vapier@gentoo.org> Content-Type: text/plain Date: Fri, 15 Jul 2005 10:22:41 -0400 Message-Id: <1121437361.5993.35.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-Archives-Salt: 635c3135-9827-4b18-b801-465ee7ce0fa4 X-Archives-Hash: f6f4ce5ac8b4e6dd27cf77ea5a7cdaba 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