Subject: Re: gmp and i386 cpu type - problems?
To: Simon Burge <simonb@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-pkg
Date: 07/20/1999 20:34:27
On Wed, 21 Jul 1999 13:28:27 +1000 
 Simon Burge <simonb@netbsd.org> wrote:

 > The following looks a bit suspect (from pkgsrc/devel/gmp/patches/patch-ab):
 > 
 > +       case "${target}" in
 > +         i[34]86*-*-*bsd*)
 > +               path="x86" ;;
 > +         i[56]86*-*-*bsd* | pentium-*-*bsd* | pentiumpro-*-*bsd*)
 > +               path="x86/pentium x86" ;;
 > +       esac ;;
 > 
 > so I'd guess the answer is "yes" unfortunately.  Maybe this sort of
 > behaviour could be overriden by a /etc/mk.conf variable perhaps.
 > Something like "IM_IN_BINARY_PACKAGE_MODE=yes", but shorter :-)

Um... but I don't think it will ever configure to anything other than
"i386--netbsd" ... "uname -p" reports "i386" under NetBSD, because
that's MACHINE_ARCH.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>