On Sun, Oct 19, 2003, Thomas Lotterer wrote:
> > $ cvs diff -u -r1.12 -r1.13 icon.spec
> > --- openpkg-src/icon/icon.spec 18 Sep 2003 15:38:14 -0000 1.12
> > +++ openpkg-src/icon/icon.spec 19 Oct 2003 11:40:53 -0000 1.13
> > @@ -66,8 +66,8 @@
> > case "%{l_platform -t}" in
> > *-freebsd* ) name="freebsd" ;;
> > *-linux* ) name="linux" ;;
> > - ix86-sunos* ) name="intel_solaris" ;;
> > - sparc*-sunos* ) name="sun_gcc" ;;
> > + i?86-sunos* ) name="intel_solaris" ;;
> > + sun*-sunos* ) name="sun_gcc" ;;
> > * ) echo "platform %{l_platform -t} not supported" 1>&2; exit 1 ;;
> > esac
> > %{l_make} %{l_mflags} Configure name=$name
> >
> Is the use of a questionmark intentional - i wonder if l_platform
> reports ix86 and something else like ia86?
Yes, it is intentional. %{l_platform -t} provides the _technology_
string of the platform architecture. For Intel this is something
like "i386" or "i686", etc. while the "ix86" is provided only as the
generalized _product_ string under %{l_platform -p}.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]