Subject: pkg/4736: x11/xpns does not build on non-i386
To: None <gnats-bugs@gnats.netbsd.org>
From: Steve Allen <allen@wormey.ndip.eskimo.net>
List: netbsd-bugs
Date: 12/20/1997 20:41:51
>Number:         4736
>Category:       pkg
>Synopsis:       xpns makefile contains -m486 flag, which only works on i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 21 00:20:01 1997
>Last-Modified:
>Originator:     Steve Allen
>Organization:
I speak only for myself.
>Release:        1.3_BETA
>Environment:
	
System: NetBSD wormey 1.3_BETA NetBSD 1.3_BETA (GENERIC) #51: Sun Nov 30 10:07:10 PST 1997 root2@wormey:/usr/src/sys/arch/mac68k/compile/GENERIC mac68k


>Description:
	The makefile for xpns contains the flag -m486.  This prevents builds
	on non-i386 architectures.

>How-To-Repeat:
	Script started on Sat Dec 20 19:04:32 1997
	# make
	>> Checksum OK for pns_source.tar.Z.
	===>  Extracting for xpns-1.0
	===>  Patching for xpns-1.0
	===>  Applying NetBSD patches for xpns-1.0
	===>  Configuring for xpns-1.0
	===>  Building for xpns-1.0
	gcc -O2 -m486 -I/usr/X11R6/include -O  -c hi.c
	cc1: Invalid option `486'
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.
	# exit
	exit

	Script done on Sat Dec 20 19:08:12 1997
	
>Fix:
	Remove -m486 from makefile (for non-i386 architectures?)
	
>Audit-Trail:
>Unformatted: