Subject: lib/12992: bsd.own.mk gets GNU_ARCH.mipseb wrong
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rafal@mediaone.net>
List: netbsd-bugs
Date: 05/20/2001 23:37:53
>Number:         12992
>Category:       lib
>Synopsis:       bsd.own.mk gets GNU_ARCH.mipseb wrong (should be `mips')
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 20 20:35:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        -current as of 5/19/01
>Organization:
Highly unlikely
>Environment:
System: NetBSD teal 1.5V NetBSD 1.5V (TEAL) #20: Sun May 20 22:24:55 EDT 2001     rafal@cyclops.waterside.net:/extra/src-current/sys/arch/sgimips/compile/TEAL sgimips
Architecture: mipseb
Machine: sgimips

>Description:
	bsd.own.mk sets GNU_ARCH.mipseb to `mipseb', whereas GNU autoconf
	expects it to be simply `mips' (GNU_ARCH.mipsel is correctly set
	to `mipsel').

>How-To-Repeat:
	Attempt to build pretty much anyting in pkgsrc on an SGI box.
	The particular cases I had trouble with were shells/tcsh and
	shells/zsh
>Fix:

Index: bsd.own.mk
===================================================================
RCS file: /cvsroot/sharesrc/share/mk/bsd.own.mk,v
retrieving revision 1.159
diff -b -u -r1.159 bsd.own.mk
--- bsd.own.mk	2001/05/12 22:38:04	1.159
+++ bsd.own.mk	2001/05/21 03:29:17
@@ -129,7 +129,7 @@
 GNU_ARCH.arm32=arm
 GNU_ARCH.i386=i386
 GNU_ARCH.m68k=m68k
-GNU_ARCH.mipseb=mipseb
+GNU_ARCH.mipseb=mips
 GNU_ARCH.mipsel=mipsel
 GNU_ARCH.ns32k=ns32k
 GNU_ARCH.powerpc=powerpc
>Release-Note:
>Audit-Trail:
>Unformatted: