Subject: re: pkg/19567: build failure on 32 bit sparc64 machine
To: None <mrg@eterna.com.au>
From: Takeshi Nakayama <tn@catvmics.ne.jp>
List: netbsd-bugs
Date: 12/28/2002 07:41:43
> >Synopsis: build failure on 32 bit sparc64 machine
> >Description:
>
> on an ultra1 running 32 bit sparc64 kernel, i get a build failure in
> mozilla, probably because it misuses "uname -m" instead of "uname -p"
> on netbsd, to determine the machine architecture, and ends up using
> the sparc64 specific code.
I am using the following workaround.
This patch can also apply to www/phoenix.
--- configure.in.orig Tue May 21 12:07:05 2002
+++ configure.in Tue May 21 13:11:00 2002
@@ -476,6 +476,11 @@
OS_ARCH=`uname -s | sed -e 's|/|_|g'`
OS_RELEASE=`uname -r`
OS_TEST=`uname -m`
+ case "${OS_ARCH}${OS_TEST}" in
+ NetBSDsparc64)
+ OS_TEST=`uname -p`
+ ;;
+ esac
fi
_COMPILER_PREFIX=
-- Takeshi Nakayama