ports/52631: bochs port does not offer PCI device option

Bruce M Simpson bms at spc.org
Sat May 24 03:10:17 UTC 2003


>Number:         52631
>Category:       ports
>Synopsis:       bochs port does not offer PCI device option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 23 20:10:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bruce M Simpson
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD saboteur.dek.spc.org 5.1-BETA FreeBSD 5.1-BETA #1: Wed May 21 23:10:10 BST 2003 root at saboteur.dek.spc.org:/usr/src/sys/i386/compile/SABOTEUR_GETCWD i386


	
>Description:
	The bochs port does not offer an option to build with the PCI
	bridge emulation code. This means PCI device support effectively
	doesn't exist; this may cause problems with some guest OSes.
>How-To-Repeat:
	
>Fix:
	The patch below introduces a WITH_BOCHS_PCI option.

--- bochs-pci.patch begins here ---
--- ports/emulators/bochs/Makefile.orig	Sat May 24 03:59:00 2003
+++ ports/emulators/bochs/Makefile	Sat May 24 03:59:59 2003
@@ -88,6 +88,10 @@
 CONFIGURE_ARGS+=	--enable-sb16=freebsd
 .endif
 
+.if defined(WITH_BOCHS_PCI)
+CONFIGURE_ARGS+=	--enable-pci
+.endif
+
 MSG_FILE=	${PKGDIR}/pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
@@ -151,6 +155,10 @@
 .if !defined(WITH_SOUND)
 	@${ECHO_MSG} "If you want to compile with sound (blaster 16) support."
 	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SOUND=yes\""
+.endif
+.if !defined(WITH_BOCHS_PCI)
+	@${ECHO_MSG} "If you want to compile with i440FX PCI bridge support."
+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_PCI=yes\""
 .endif
 	@${ECHO_MSG}
 
--- bochs-pci.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list