aboutsummaryrefslogtreecommitdiff
path: root/emulators/bochs/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-04-26 07:03:59 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-04-26 07:03:59 +0000
commitfe3cada9059fce043f2552b6eb595c4ae71c61ee (patch)
tree4033f5366847e41c12e2eb38b3e24c32ee8801c0 /emulators/bochs/Makefile
parent241688e3c0d03c932b3c48c949903e14b721c2b8 (diff)
downloadports-fe3cada9059fce043f2552b6eb595c4ae71c61ee.tar.gz
ports-fe3cada9059fce043f2552b6eb595c4ae71c61ee.zip
Notes
Diffstat (limited to 'emulators/bochs/Makefile')
-rw-r--r--emulators/bochs/Makefile32
1 files changed, 18 insertions, 14 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index 288cc2eb6bcc..aedbb18a687e 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bochs
-PORTVERSION= 2.6
+PORTVERSION= 2.6.1
PORTEPOCH= 2
CATEGORIES= emulators
MASTER_SITES= SF
@@ -18,10 +18,10 @@ OPTIONS_DEFINE= A20_PIN ALIGN_CHECK ASSERT_CHECK \
E1000 ES1370 FAST_FUNCCALL FPU \
GAMEPORT IDLE_HACK IODEBUG \
LARGE_RAMFILE LOGGING LONG_PHY_ADDR \
- MISALIGNEDSSE MWAIT NE2000 OPTIMIZATIONS PCI PLUGINS PNIC \
+ MWAIT NE2000 OPTIMIZATIONS PCI PLUGINS PNIC \
RAW_SERIAL READLINE REPEAT_SPEED RFB \
SB16 SDL SHOW_IPS SMP SVGA SVM TERM USB USB_OHCI USB_XHCI \
- VMX WX X11 X86_64 XPM
+ VMX VOODOO WXGTK X11 X86_64 XPM
OPTIONS_RADIO= DEBUG
OPTIONS_RADIO_DEBUG= DEBUGGER GDB_STUB
OPTIONS_DEFAULT=A20_PIN ALIGN_CHECK CDROM CONF_MSRS DISASM FPU LOGGING \
@@ -50,7 +50,6 @@ IODEBUG_DESC= Enable I/O interface to debugger
LARGE_RAMFILE_DESC= Enable large ramfile support
LOGGING_DESC= Enable logging
LONG_PHY_ADDR_DESC= Enable support for physical address >= 32bit
-MISALIGNEDSSE_DESC= Enable misaligned SSE support
MWAIT_DESC= Enable experimental MONITOR/MWAIT support
NE2000_DESC= Enable limited ne2000 support
OPTIMIZATIONS_DESC= Enable all safe speed optimizations
@@ -72,7 +71,7 @@ USB_DESC= Enable limited USB UHCI support
USB_OHCI_DESC= Enable limited USB OHCI support
USB_XHCI_DESC= Enable limited USB xHCI support
VMX_DESC= Enable Virtialization extensions
-WX_DESC= Use WxWidgets display interface
+VOODOO_DESC= Enable 3dfx Voodoo Graphics emulation
X86_64_DESC= Enable AMD x86-64 support
XPM_DESC= Enable XPM library support
@@ -94,7 +93,7 @@ SUB_FILES= pkg-message
.include <bsd.port.options.mk>
-.if empty(PORT_OPTIONS:MTERM) && empty(PORT_OPTIONS:MWX) && empty(PORT_OPTIONS:MX11)
+.if empty(PORT_OPTIONS:MTERM) && empty(PORT_OPTIONS:MWXGTK) && empty(PORT_OPTIONS:MX11)
CONFIGURE_ARGS+=--with-nogui
.endif
@@ -186,6 +185,7 @@ CONFIGURE_ARGS+=--disable-fast-function-calls
CONFIGURE_ARGS+=--enable-fpu
.else
CONFIGURE_ARGS+=--disable-fpu
+WITH_CPU_LEVEL= 3
.endif
.if ${PORT_OPTIONS:MGAMEPORT}
@@ -230,12 +230,6 @@ CONFIGURE_ARGS+=--enable-long-phy-address
CONFIGURE_ARGS+=--disable-long-phy-address
.endif
-.if ${PORT_OPTIONS:MMISALIGNEDSSE}
-CONFIGURE_ARGS+=--enable-misaligned-sse
-.else
-CONFIGURE_ARGS+=--disable-misaligned-sse
-.endif
-
.if ${PORT_OPTIONS:MMWAIT}
CONFIGURE_ARGS+=--enable-monitor-mwait
.else
@@ -361,9 +355,14 @@ WITH_CPU_LEVEL= 6
CONFIGURE_ARGS+=--disable-vmx
.endif
-.if ${PORT_OPTIONS:MWX}
+.if ${PORT_OPTIONS:MVOODOO}
+CONFIGURE_ARGS+=--enable-voodoo
+.else
+CONFIGURE_ARGS+=--disable-voodoo
+.endif
+
+.if ${PORT_OPTIONS:MWXGTK}
USE_WX= 2.4+
-CONFIGURE_ENV= WX_CONFIG="${WX_CONFIG}"
CONFIGURE_ARGS+=--with-wx
.else
CONFIGURE_ARGS+=--disable-debugger-gui
@@ -376,6 +375,7 @@ CONFIGURE_ARGS+=--with-x11
.if ${PORT_OPTIONS:MX86_64}
CONFIGURE_ARGS+=--enable-x86-64
+WITH_CPU_LEVEL= 6
.else
CONFIGURE_ARGS+=--disable-x86-64
.endif
@@ -403,6 +403,10 @@ CONFIGURE_ENV+= SOUND_LINK_OPTS="-L${LOCALBASE}/lib"
IGNORE= GDB_STUB is incompatible with multiprocessor
.endif
+.if empty(PORT_OPTIONS:MPCI) && ${PORT_OPTIONS:MVOODOO}
+IGNORE= 3dfx Voodoo Graphics emulation requires PCI support
+.endif
+
pre-everything::
.if !defined(WITH_CPU_LEVEL)
@${ECHO_CMD}