Bug 52347

Summary: fix build of emulators/bochs with CPU_LEVEL=4
Product: Ports & Packages Reporter: Giorgos Keramidas <keramida>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Giorgos Keramidas freebsd_committer freebsd_triage 2003-05-16 23:00:31 UTC
	Building bochs with processor level < 5 fails because mmx
	instructions need to be disabled at configure time for such
	builds.  The third chunk of the attached patch fixes this error:

../config.h:719:2: #error With CPU level < 5, you must disable MMX support.
gmake[1]: *** [devices.o] Error 1
gmake[1]: Leaving directory `/usr/ports/emulators/bochs/work/bochs-2.0.2/iodev'
gmake: *** [iodev/libiodev.a] Error 2
*** Error code 2

	I've also added a few more WITH_XXX knobs to enable some of the
	features of bochs to my local copy.  WITH_BOCHS_TERM enables the
	terminal interface of bochs, WITH_BOCHS_VESA enables VESA BIOS
	extensions and WITH_BOCHS_READLINE enables readline support.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-05-19 19:49:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anholt

Over to maintainer
Comment 2 Eric Anholt freebsd_committer freebsd_triage 2003-05-20 19:03:02 UTC
State Changed
From-To: open->closed

Committed, thanks!  The readline option was unnecessary because it's 
automatically detected when the option that would use it (debugger) is enabled.