Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2008 14:43:59 +0300 (EEST)
From:      Andriy Gapon <avg@icyb.net.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/127606: emulators/bochs: no knob/option for ACPI support
Message-ID:  <200809241143.m8OBhxLj012623@rein.cybervisiontech.com.ua>
Resent-Message-ID: <200809241210.m8OCA1BV010187@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127606
>Category:       ports
>Synopsis:       emulators/bochs: no knob/option for ACPI support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 24 12:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        FreeBSD 6.3-RELEASE amd64
>Organization:
>Environment:
System: all


	
>Description:
I need to use bochs configured with --acpi-enabled.
I see that currently the port doesn't enable that option and doesn't
provide any knob for it.
The attached trivial patch should add the knob.
>How-To-Repeat:
N/A
>Fix:

	

--- bochs-port-Makefile.patch begins here ---
--- Makefile.orig	2008-09-11 01:13:38.000000000 +0300
+++ Makefile	2008-09-11 01:15:17.000000000 +0300
@@ -23,7 +23,8 @@
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--disable-docbook
 
-OPTIONS=	AES "Enable support of AES CPU extensions" off \
+OPTIONS=	ACPI "Enable ACPI emulation" off \
+		AES "Enable support of AES CPU extensions" off \
 		CDROM "Enable CDROM support" on \
 		CLGD54XX "Enable Cirrus Logic GD54xx video card" off \
 		DEBUGGER "Enable debugger and disassembler support" off \
@@ -74,6 +75,10 @@
 CONFIGURE_ARGS+=--with-nogui
 .endif
 
+.if defined(WITH_ACPI)
+CONFIGURE_ARGS+=--enable-acpi
+.endif
+
 .if defined(WITH_AES)
 CONFIGURE_ARGS+=--enable-aes
 .endif
--- bochs-port-Makefile.patch ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809241143.m8OBhxLj012623>