changeset in /hg/icedtea: 2007-11-01 Gary Benson <gbenson at redh...

Christian Thalinger twisti at complang.tuwien.ac.at
Thu Nov 8 04:25:19 PST 2007


On Wed, 2007-11-07 at 11:58 +0000, Gary Benson wrote:
> Christian Thalinger wrote:
> > On Wed, 2007-11-07 at 11:04 +0000, Gary Benson wrote:
> > > Christian Thalinger wrote:
> > > > On Tue, 2007-11-06 at 12:44 +0000, Gary Benson wrote:
> > > > > Oh, I didn't realise what you meant by that, but it just
> > > > > dawned on me that the ppc cases are also redundant in that
> > > > > they do exactly what the default case does.  Mind if I remove
> > > > > them too?
> > > > 
> > > > No, that not true.  The PowerPC cases map powerpc to ppc and
> > > > powerpc64 to ppc64.  We need them.
> > > 
> > > The default case handles that mapping though:
> > > 
> > >   case "${host}" in
> > >     x86_64-*-*)
> > >       BUILD_ARCH_DIR=amd64
> > >       INSTALL_ARCH_DIR=amd64
> > >       ;;
> > >     i?86-*-*)
> > >       BUILD_ARCH_DIR=i586
> > >       INSTALL_ARCH_DIR=i386
> > >       ;;
> > >     *)
> > >       BUILD_ARCH_DIR=`uname -m`
> > >       INSTALL_ARCH_DIR=$BUILD_ARCH_DIR
> > >       ;;
> > >   esac
> > > 
> > > This is what I'm using at the moment.
> > 
> > Ahh, I missed that we're using `uname -m' and not the host triplet.
> > Sorry.  Yes, then we can remove it.
> 
> Done :)

Thanks, works.

- twisti



More information about the distro-pkg-dev mailing list