1 |
On Monday 08 October 2007, Donnie Berkholz wrote: |
2 |
> On 19:52 Sun 07 Oct , Daniel Black (dragonheart) wrote: |
3 |
> > 1.1 dev-libs/ace/ace-5.6.1.ebuild |
4 |
> > |
5 |
> > file : |
6 |
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.6.1.eb |
7 |
> >uild?rev=1.1&view=markup plain: |
8 |
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.6.1.eb |
9 |
> >uild?rev=1.1&content-type=text/plain |
10 |
> > |
11 |
> > pkg_postinst() { |
12 |
> > # This is required, as anything trying to compile against ACE will have |
13 |
> > # problems with conflicting OS.h files if this is not done. |
14 |
> > |
15 |
> > local CC_MACHINE=$($(tc-getCC) -dumpmachine) |
16 |
> > if [ -d "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" |
17 |
> > ]; then mv |
18 |
> > "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \ |
19 |
> > "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old" |
20 |
> |
21 |
> Does gcc not use get_libdir() ? I also find it a little unusual that |
22 |
> you're not informing people when you're renaming directories on their |
23 |
> live systems. |
24 |
|
25 |
this cant be right at all ... i say the whole pkg_postinst() needs to get |
26 |
punted |
27 |
-mike |