emulators/bochs: acpi option
Andriy Gapon
avg at icyb.net.ua
Thu Sep 11 12:13:50 UTC 2008
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.
Should I also file a PR or is this sufficient?
--
Andriy Gapon
-------------- next part --------------
--- 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
More information about the freebsd-ports
mailing list