Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master z-rejected grimoire by Lalo Martins (ed8925c0a2f0052847c082afcf7d8b3940b92660)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <lynx AT mages.ath.cx>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master z-rejected grimoire by Lalo Martins (ed8925c0a2f0052847c082afcf7d8b3940b92660)
  • Date: Sun, 14 Jan 2007 09:15:56 +0100

On Sunday 14 January 2007 06:08, Lalo Martins wrote:
> GIT changes to master z-rejected grimoire by Lalo Martins
> <lalo AT salmao.laranja.org>:
>
> z-devel/ghc-bin/DETAILS | 8 +++++++-
> z-devel/ghc-bin/HISTORY | 3 +++
> 2 files changed, 10 insertions(+), 1 deletion(-)
>
> New commits:
> commit ed8925c0a2f0052847c082afcf7d8b3940b92660
> Author: Lalo Martins <lalo AT salmao.laranja.org>
> Commit: Lalo Martins <lalo AT salmao.laranja.org>
>
> correctly cast ghc-bin on x86_64 (update HISTORY)
>
> commit 9d78881baccf77d00016ea354e95ac89e169c0f5
> Author: Lalo Martins <lalo AT salmao.laranja.org>
> Commit: Lalo Martins <lalo AT salmao.laranja.org>
>
> correctly cast ghc-bin on x86_64
>
> diff --git a/z-devel/ghc-bin/DETAILS b/z-devel/ghc-bin/DETAILS
> index 5d058ff..4cc5a02 100755
> --- a/z-devel/ghc-bin/DETAILS
> +++ b/z-devel/ghc-bin/DETAILS
> @@ -1,9 +1,15 @@
> SPELL=ghc-bin
> VERSION=6.4
> - SOURCE=ghc-$VERSION-i386-unknown-linux.tar.bz2
> + ARCH="$(uname -m)"
> + [[ "$ARCH" = i686 ]] && ARCH=i386
The correct thing would be to use ${SMGL_COMPAT_ARCHS[1]} instead of uname -m
and check for ia32 - that way it will work for people on 64b cpus in 32b
mode.

navaden@lynxlynx git $ ls /usr/share/archspecs/64
ppc sparc x86_64
navaden@lynxlynx git $ ls /usr/share/archspecs/32
arm ia32 ppc sparc superh

http://wiki.sourcemage.org/Things_Spells_Should_Not_Do

--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org

Attachment: pgpllVo3xz3AL.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page