Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= bochs |
8 |
PORTNAME= bochs |
9 |
PORTVERSION= 2.4.5 |
9 |
PORTVERSION= 2.4.6 |
10 |
PORTEPOCH= 2 |
10 |
PORTEPOCH= 2 |
11 |
CATEGORIES= emulators |
11 |
CATEGORIES= emulators |
12 |
MASTER_SITES= SF |
12 |
MASTER_SITES= SF |
Lines 16-22
Link Here
|
16 |
|
16 |
|
17 |
USE_GMAKE= yes |
17 |
USE_GMAKE= yes |
18 |
USE_AUTOTOOLS= libtool |
18 |
USE_AUTOTOOLS= libtool |
19 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
19 |
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" |
20 |
CONFIGURE_ARGS= --disable-docbook |
20 |
CONFIGURE_ARGS= --disable-docbook |
21 |
|
21 |
|
22 |
OPTIONS= A20_PIN "Enable support for A20 pin" on \ |
22 |
OPTIONS= A20_PIN "Enable support for A20 pin" on \ |
Lines 26-31
Link Here
|
26 |
CDROM "Enable CDROM support" on \ |
26 |
CDROM "Enable CDROM support" on \ |
27 |
CLGD54XX "Enable Cirrus Logic GD54xx video card" off \ |
27 |
CLGD54XX "Enable Cirrus Logic GD54xx video card" off \ |
28 |
CONF_MSRS "Enable configurable MSR registers support" on \ |
28 |
CONF_MSRS "Enable configurable MSR registers support" on \ |
|
|
29 |
CPP_SUFX "Use .cpp as C++ suffix" off \ |
29 |
DEBUGGER "Enable debugger support" off \ |
30 |
DEBUGGER "Enable debugger support" off \ |
30 |
DEBUGGER_X86 "Enable x86 hardware debugger" off \ |
31 |
DEBUGGER_X86 "Enable x86 hardware debugger" off \ |
31 |
DISASM "Enable disassemler support " on \ |
32 |
DISASM "Enable disassemler support " on \ |
Lines 33-38
Link Here
|
33 |
FPU "Enable FPU emulator" on \ |
34 |
FPU "Enable FPU emulator" on \ |
34 |
GAMEPORT "Enable standard PC gameport support" off \ |
35 |
GAMEPORT "Enable standard PC gameport support" off \ |
35 |
GDB_STUB "Enable GDB stub support" off \ |
36 |
GDB_STUB "Enable GDB stub support" off \ |
|
|
37 |
HS_ASMS "Enable support for host specific inline asms" off \ |
36 |
IDLE_HACK "Keep Bochs from using all CPU time" off \ |
38 |
IDLE_HACK "Keep Bochs from using all CPU time" off \ |
37 |
INSTRUMENT "Enable support for instrumentation" off \ |
39 |
INSTRUMENT "Enable support for instrumentation" off \ |
38 |
IODEBUG "Enable I/O interface to debugger" off \ |
40 |
IODEBUG "Enable I/O interface to debugger" off \ |
Lines 41-47
Link Here
|
41 |
MISALIGNEDSSE "Enable misaligned SSE support" off \ |
43 |
MISALIGNEDSSE "Enable misaligned SSE support" off \ |
42 |
MWAIT "Enable experimental MONITOR/MWAIT support" off \ |
44 |
MWAIT "Enable experimental MONITOR/MWAIT support" off \ |
43 |
NE2000 "Enable limited ne2000 support" on \ |
45 |
NE2000 "Enable limited ne2000 support" on \ |
44 |
NEW_PIT "Enable use of the new PIT model" on \ |
|
|
45 |
OPTIMIZATIONS "Enable all safe speeed optimizations" on \ |
46 |
OPTIMIZATIONS "Enable all safe speeed optimizations" on \ |
46 |
PCI "Enable limited i440FX PCI support" on \ |
47 |
PCI "Enable limited i440FX PCI support" on \ |
47 |
PLUGINS "Enable building dynamic loadable plugins" off \ |
48 |
PLUGINS "Enable building dynamic loadable plugins" off \ |
Lines 63-68
Link Here
|
63 |
VMX "Enable Virtialization extensions" off \ |
64 |
VMX "Enable Virtialization extensions" off \ |
64 |
WX "Use WxWidgets display interface" off \ |
65 |
WX "Use WxWidgets display interface" off \ |
65 |
X11 "Use X11 display interface" on \ |
66 |
X11 "Use X11 display interface" on \ |
|
|
67 |
X2APIC "Enable support for X2APIC" off \ |
66 |
X86_64 "Enable AMD x86-64 support" off \ |
68 |
X86_64 "Enable AMD x86-64 support" off \ |
67 |
XPM "Enable XPM library support" off |
69 |
XPM "Enable XPM library support" off |
68 |
|
70 |
|
Lines 125-130
Link Here
|
125 |
CONFIGURE_ARGS+=--enable-configurable-msrs |
127 |
CONFIGURE_ARGS+=--enable-configurable-msrs |
126 |
.endif |
128 |
.endif |
127 |
|
129 |
|
|
|
130 |
.if defined(WITH_CPP_SUFX) |
131 |
CONFIGURE_ARGS+=--enable-cpp |
132 |
.else |
133 |
CONFIGURE_ARGS+=--disable-cpp |
134 |
.endif |
135 |
|
128 |
.if defined(WITH_DEBUGGER) |
136 |
.if defined(WITH_DEBUGGER) |
129 |
CONFIGURE_ARGS+=--enable-debugger |
137 |
CONFIGURE_ARGS+=--enable-debugger |
130 |
.else |
138 |
.else |
Lines 167-172
Link Here
|
167 |
CONFIGURE_ARGS+=--disable-gdb-stub |
175 |
CONFIGURE_ARGS+=--disable-gdb-stub |
168 |
.endif |
176 |
.endif |
169 |
|
177 |
|
|
|
178 |
.if defined(WITH_HS_ASMS) |
179 |
CONFIGURE_ARGS+=--enable-host-specific-asms |
180 |
.else |
181 |
CONFIGURE_ARGS+=--disable-host-specific-asms |
182 |
.endif |
183 |
|
170 |
.if defined(WITH_IDLE_HACK) |
184 |
.if defined(WITH_IDLE_HACK) |
171 |
CONFIGURE_ARGS+=--enable-idle-hack |
185 |
CONFIGURE_ARGS+=--enable-idle-hack |
172 |
.else |
186 |
.else |
Lines 215-226
Link Here
|
215 |
CONFIGURE_ARGS+=--disable-ne2000 |
229 |
CONFIGURE_ARGS+=--disable-ne2000 |
216 |
.endif |
230 |
.endif |
217 |
|
231 |
|
218 |
.if !defined(WITH_NEW_PIT) |
|
|
219 |
CONFIGURE_ARGS+=--disable-new-pit |
220 |
.else |
221 |
CONFIGURE_ARGS+=--enable-new-pit |
222 |
.endif |
223 |
|
224 |
.if defined(WITH_OPTIMIZATIONS) |
232 |
.if defined(WITH_OPTIMIZATIONS) |
225 |
CONFIGURE_ARGS+=--enable-all-optimizations |
233 |
CONFIGURE_ARGS+=--enable-all-optimizations |
226 |
.else |
234 |
.else |
Lines 342-347
Link Here
|
342 |
CONFIGURE_ARGS+=--with-x11 |
350 |
CONFIGURE_ARGS+=--with-x11 |
343 |
.endif |
351 |
.endif |
344 |
|
352 |
|
|
|
353 |
.if defined(WITH_X2APIC) |
354 |
CONFIGURE_ARGS+=--enable-x2apic |
355 |
.else |
356 |
CONFIGURE_ARGS+=--disable-x2apic |
357 |
.endif |
358 |
|
345 |
.if defined(WITH_X86_64) |
359 |
.if defined(WITH_X86_64) |
346 |
CONFIGURE_ARGS+=--enable-x86-64 |
360 |
CONFIGURE_ARGS+=--enable-x86-64 |
347 |
.else |
361 |
.else |