FreeBSD Bugzilla – Attachment 31412 Details for
Bug 52347
fix build of emulators/bochs with CPU_LEVEL=4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.57 KB, created by
Giorgos Keramidas
on 2003-05-16 23:00:31 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Giorgos Keramidas
Created:
2003-05-16 23:00:31 UTC
Size:
2.57 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/emulators/bochs/Makefile,v >retrieving revision 1.55 >diff -u -r1.55 Makefile >--- Makefile 14 Apr 2003 01:52:50 -0000 1.55 >+++ Makefile 16 May 2003 19:34:40 -0000 >@@ -27,7 +27,7 @@ > GNU_CONFIGURE= yes > CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} > CONFIGURE_ARGS= --disable-split-hd \ >- --enable-all-optimizations >+ --enable-all-optimizations --with-x11 > > CFLAGS+= -fno-rtti -fno-exceptions -fomit-frame-pointer > >@@ -36,6 +36,18 @@ > > .include <bsd.port.pre.mk> > >+.if defined(WITH_BOCHS_TERM) >+CONFIGURE_ARGS+= --with-term >+.endif >+ >+.if defined(WITH_BOCHS_VESA) >+CONFIGURE_ARGS+= --enable-vbe >+.endif >+ >+.if defined(WITH_BOCHS_READLINE) >+CONFIGURE_ARGS+= --enable-readline >+.endif >+ > .if ${XFREE86_VERSION} == 4 > BUILD_DEPENDS+= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients > RUN_DEPENDS+= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients >@@ -53,6 +65,9 @@ > .if ${WITH_BOCHS_CPU_LEVEL} < 3 || ${WITH_BOCHS_CPU_LEVEL} > 6 > .error "WITH_BOCHS_CPU_LEVEL must be an integer value between 3 and 6." > .endif >+.if ${WITH_BOCHS_CPU_LEVEL} < 5 >+CONFIGURE_ARGS+= --disable-mmx >+.endif > CONFIGURE_ARGS+= --enable-cpu-level=${WITH_BOCHS_CPU_LEVEL} > .endif > >@@ -93,7 +108,8 @@ > pre-everything:: > .if !defined(WITH_BOCHS_CPU_LEVEL) || !defined(WITH_BOCHS_PROCESSORS) || \ > !defined(WITH_BOCHS_DEBUGGER) || !defined(WITH_BOCHS_X86_DEBUGGER) || \ >- !defined(WITH_SOUND) >+ !defined(WITH_SOUND) || !defined(WITH_BOCHS_TERM) || \ >+ !defined(WITH_BOCHS_VESA) || !defined(WITH_BOCHS_READLINE) > @${ECHO_MSG} > .if !defined(WITH_BOCHS_CPU_LEVEL) > @${ECHO_MSG} "If you want to change the processor level to emulate (default is 5, aka Pentium)" >@@ -129,6 +145,21 @@ > .if !defined(WITH_SOUND) > @${ECHO_MSG} "If you want to compile with sound (blaster 16) support." > @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SOUND=yes\"" >+ @${ECHO_MSG} >+.endif >+.if !defined(WITH_BOCHS_TERM) >+ @${ECHO_MSG} "If you want to enable the plain text, console-based bochs interface" >+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_GUI_TERM=yes\"" >+ @${ECHO_MSG} >+.endif >+.if !defined(WITH_BOCHS_VESA) >+ @${ECHO_MSG} "If you want to enable the VESA BIOS video extensions of bochs," >+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_VESA=yes\"" >+ @${ECHO_MSG} >+.endif >+.if !defined(WITH_BOCHS_READLINE) >+ @${ECHO_MSG} "If you want to enable readline support in the bochs command lines," >+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BOCHS_READLINE=yes\"" > .endif > @${ECHO_MSG} > .endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 52347
: 31412