Gentoo Archives: gentoo-dev

From: Jan Spitalnik <jan@×××××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Modular X plans
Date: Thu, 11 Aug 2005 19:16:20
Message-Id: 200508112111.35992.jan@spitalnik.net
In Reply to: Re: [gentoo-dev] Modular X plans by Donnie Berkholz
1 Dne èt 11. srpna 2005 20:58 Donnie Berkholz napsal(a):
2 > Donnie Berkholz wrote:
3 > > Here's a slightly better version:
4 >
5 > And here's the enhanced, scripted version. It traces libs back to their
6 > packages to really make things easy.
7
8 you can replace (starting line 37)
9 if $(grep ' \-l[a-zA-Z]' ${1} | grep static); then
10 static=1
11 fi
12 if ! $(grep ' \-l[a-zA-Z]' ${1} | grep static); then
13 shared=1
14 fi
15
16 with
17 if $(grep ' \-l[a-zA-Z]' ${1} | grep static); then
18 static=1
19 else
20 shared=1
21 fi
22
23 as it should be equivalent.
24
25 >
26 > Seems to work quite well.
27 >
28 > Thanks,
29 > Donnie
30
31 Have a nice day,
32 spity
33 --
34 Jan Spitalnik
35 jan.spitalnik@×××.com
36
37 "We are now qualified to anything with nothing." -- Larry Wall
38
39 --
40 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Modular X plans Donnie Berkholz <spyderous@g.o>
Re: [gentoo-dev] Modular X plans Georgi Georgiev <chutz@×××.net>