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
--- 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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to