On Monday 08 October 2007, Donnie Berkholz wrote: > On 19:52 Sun 07 Oct , Daniel Black (dragonheart) wrote: > > 1.1 dev-libs/ace/ace-5.6.1.ebuild > > > > file : > > http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.6.1.eb > >uild?rev=1.1&view=markup plain: > > http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.6.1.eb > >uild?rev=1.1&content-type=text/plain > > > > pkg_postinst() { > > # This is required, as anything trying to compile against ACE will have > > # problems with conflicting OS.h files if this is not done. > > > > local CC_MACHINE=$($(tc-getCC) -dumpmachine) > > if [ -d "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" > > ]; then mv > > "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \ > > "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old" > > Does gcc not use get_libdir() ? I also find it a little unusual that > you're not informing people when you're renaming directories on their > live systems.
this cant be right at all ... i say the whole pkg_postinst() needs to get punted -mike
signature.asc
Description: This is a digitally signed message part.