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 1E3Isw-0000RI-6Z for garchives@archives.gentoo.org; Thu, 11 Aug 2005 19:38:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7BJb7pQ007131; Thu, 11 Aug 2005 19:37:07 GMT Received: from tiger.gg3.net (m006052.ppp.asahi-net.or.jp [219.121.6.52]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7BJZQcE011523 for ; Thu, 11 Aug 2005 19:35:27 GMT Received: (qmail 13743 invoked by uid 89); 11 Aug 2005 19:36:18 -0000 Received: from lion.gg3.net (HELO lion) (10.0.0.2) by 0 with SMTP; 11 Aug 2005 19:36:18 -0000 Received: by lion (sSMTP sendmail emulation); Fri, 12 Aug 2005 04:36:17 +0900 Date: Fri, 12 Aug 2005 04:36:15 +0900 From: Georgi Georgiev To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Modular X plans Message-ID: <20050811193615.GA113861@lion.gg3.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <42EE8C03.3040904@gentoo.org> <42F96E29.3080304@gentoo.org> <42FB9FD7.3030801@gentoo.org> <200508112111.35992.jan@spitalnik.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200508112111.35992.jan@spitalnik.net> User-Agent: Mutt/1.5.8i Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j7BJb7qv007131 X-Archives-Salt: e2221861-f5ba-4f99-bf49-fa6dcd0bf274 X-Archives-Hash: 794392e317a3735abd1e8294ef17001e maillog: 11/08/2005-21:11:35(+0200): Jan Spitalnik types > Dne =C4=8Dt 11. srpna 2005 20:58 Donnie Berkholz napsal(a): > > Donnie Berkholz wrote: > > > Here's a slightly better version: > > > > And here's the enhanced, scripted version. It traces libs back to the= ir > > packages to really make things easy. >=20 > you can replace (starting line 37) > if $(grep ' \-l[a-zA-Z]' ${1} | grep static); then > static=3D1 > fi > if ! $(grep ' \-l[a-zA-Z]' ${1} | grep static); then > shared=3D1 > fi >=20 > with > if $(grep ' \-l[a-zA-Z]' ${1} | grep static); then > static=3D1 > else > shared=3D1 > fi The script currently breaks with static libs. The fix is: - remove the $( -- no need to execute the output of the grep in a subshell. - make the "grep static" a "grep -q static" -- we don't need to see the lines that match "static" --=20 *> Georgi Georgiev *> There's a little picture of ED MCMAHON *> <* chutz@gg3.net <* doing BAD THINGS to JOAN RIVERS in a <* *> +81(90)2877-8845 *> $200,000 MALIBU BEACH HOUSE!! *> --=20 gentoo-dev@gentoo.org mailing list