Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Package version requiring sse
Date: Thu, 25 Aug 2005 17:53:58
Message-Id: 200508251951.37354.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] Package version requiring sse by Brian Harring
1 On Thursday 25 August 2005 17:29, Brian Harring wrote:
2 > On Thu, Aug 25, 2005 at 01:41:00PM +0200, Paul de Vrieze wrote:
3 > > On Wednesday 24 August 2005 15:23, Martin Schlemmer wrote:
4 > > > Same thing (and probably better option) if you put it in pkg_setup()
5 > > > ...
6 > >
7 > > Isn't pkg_setup run too when just building a binary package (-B) (then
8 > > the check shouldn't be performed), and just before installing a binary
9 > > package?
10 >
11 > Yep, something that's rather unclean.
12 > Reinitializing the env for the local box I have no issue with, I just
13 > dislike re-running pkg_setup which also set's up vars for building.
14 >
15 > Alternatives welcome mind you...
16 > ~harring
17
18 Shouldn't pkg_preinst work? It should be run just before installation. The
19 only thing is that the package is allready build before it's being tested.
20
21 Paul
22
23 --
24 Paul de Vrieze
25 Gentoo Developer
26 Mail: pauldv@g.o
27 Homepage: http://www.devrieze.net