aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-01-29 01:50:20 +0800
committermiwi <miwi@FreeBSD.org>2012-01-29 01:50:20 +0800
commit9ad0338489178bba7f8fbbaa7ce08c9dcdb021ba (patch)
treea4d9ae85179f1eeeca3d2e9454332bfbc4fc95f2 /emulators
parent06cbcd2848bd9744871cbf1fda3c0c88e6f9b81b (diff)
downloadfreebsd-ports-gnome-9ad0338489178bba7f8fbbaa7ce08c9dcdb021ba.tar.gz
freebsd-ports-gnome-9ad0338489178bba7f8fbbaa7ce08c9dcdb021ba.tar.zst
freebsd-ports-gnome-9ad0338489178bba7f8fbbaa7ce08c9dcdb021ba.zip
- Update to 2.5.1
PR: 164156 Submitted by: Ports Fury
Diffstat (limited to 'emulators')
-rw-r--r--emulators/bochs/Makefile90
-rw-r--r--emulators/bochs/distinfo4
-rw-r--r--emulators/bochs/files/patch-iodev::cdrom.cc13
-rw-r--r--emulators/bochs/pkg-plist3
4 files changed, 50 insertions, 60 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index 461a54d7dd72..0118bb0e9154 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= bochs
-PORTVERSION= 2.4.6
-PORTREVISION= 1
+PORTVERSION= 2.5.1
PORTEPOCH= 2
CATEGORIES= emulators
MASTER_SITES= SF
@@ -15,31 +14,29 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An IA-32 (x86) PC emulator that runs DOS, Win 95, and more
-LIB_DEPENDS= asound.2:${PORTSDIR}/audio/alsa-lib
-
-USE_GMAKE= yes
-USE_AUTOTOOLS= libtool
-CONFIGURE_ARGS= --disable-docbook
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS= A20_PIN "Enable support for A20 pin" on \
- ACPI "Enable ACPI emulation" off \
ALIGN_CHECK "Enable alignment check support" on \
ASSERT_CHECK "Enable BX_ASSERT checks" off \
CDROM "Enable CDROM support" on \
+ CHAINING "Enable handlers-chaining emulation speedups" off \
CLGD54XX "Enable Cirrus Logic GD54xx video card" off \
CONF_MSRS "Enable configurable MSR registers support" on \
CPP_SUFX "Use .cpp as C++ suffix" off \
DEBUGGER "Enable debugger support" off \
DEBUGGER_X86 "Enable x86 hardware debugger" off \
- DISASM "Enable disassemler support " on \
+ DISASM "Enable disassemler support" on \
+ ES1370 "Enable ES1370 soundcard support" off \
FAST_FUNCCALL "Enable fast function calls support (x86 only)" off \
FPU "Enable FPU emulator" on \
GAMEPORT "Enable standard PC gameport support" off \
GDB_STUB "Enable GDB stub support" off \
- HS_ASMS "Enable support for host specific inline asms" off \
IDLE_HACK "Keep Bochs from using all CPU time" off \
INSTRUMENT "Enable support for instrumentation" off \
IODEBUG "Enable I/O interface to debugger" off \
+ LARGE_RAMFILE "Enable large ramfile support" off \
LOGGING "Enable logging" on \
LONG_PHY_ADDR "Enable support for physical address >= 32bit" off \
MISALIGNEDSSE "Enable misaligned SSE support" off \
@@ -58,18 +55,21 @@ OPTIONS= A20_PIN "Enable support for A20 pin" on \
SHOW_IPS "Enable logging of measured IPS" off \
SMP "Enable SMP simulation support (CPU level 6)" off \
SVGA "Enable SVGAlib support" off \
- TCACHE "Enable trace cache" on \
TERM "Use text only, console based interface" off \
USB "Enable limited USB UHCI support" off \
USB_OHCI "Enable limited USB OHCI support" off \
- VBE "Enable VGA BIOS Extensions" on \
+ USB_XHCI "Enable limited USB xHCI support" off \
VMX "Enable Virtialization extensions" off \
WX "Use WxWidgets display interface" off \
X11 "Use X11 display interface" on \
- X2APIC "Enable support for X2APIC" off \
X86_64 "Enable AMD x86-64 support" off \
XPM "Enable XPM library support" off
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool
+CONFIGURE_ARGS= --disable-docbook
+MAKE_JOBS_SAFE= yes
+
CFLAGS+= -fno-exceptions -fomit-frame-pointer ${CPPFLAGS}
CXXFLAGS+= -fno-rtti
CPPFLAGS+= -I${LOCALBASE}/include
@@ -81,7 +81,7 @@ MAN5= bochsrc.5
SUB_FILES= pkg-message
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITHOUT_TERM) && defined(WITHOUT_WX) && defined(WITHOUT_X11)
CONFIGURE_ARGS+=--with-nogui
@@ -93,12 +93,6 @@ CONFIGURE_ARGS+=--disable-a20-pin
CONFIGURE_ARGS+=--enable-a20-pin
.endif
-.if defined(WITH_ACPI)
-CONFIGURE_ARGS+=--enable-acpi
-.else
-CONFIGURE_ARGS+=--disable-acpi
-.endif
-
.if !defined(WITH_ALIGN_CHECK)
CONFIGURE_ARGS+=--disable-alignment-check
.else
@@ -117,6 +111,12 @@ CONFIGURE_ARGS+=--disable-cdrom
CONFIGURE_ARGS+=--enable-cdrom
.endif
+.if defined(WITH_CHAINING)
+CONFIGURE_ARGS+=--enable-handlers-chaining
+.else
+CONFIGURE_ARGS+=--disable-handlers-chaining
+.endif
+
.if defined(WITH_CLGD54XX)
CONFIGURE_ARGS+=--enable-clgd54xx
.else
@@ -177,12 +177,6 @@ CONFIGURE_ARGS+=--enable-gdb-stub
CONFIGURE_ARGS+=--disable-gdb-stub
.endif
-.if defined(WITH_HS_ASMS)
-CONFIGURE_ARGS+=--enable-host-specific-asms
-.else
-CONFIGURE_ARGS+=--disable-host-specific-asms
-.endif
-
.if defined(WITH_IDLE_HACK)
CONFIGURE_ARGS+=--enable-idle-hack
.else
@@ -190,6 +184,7 @@ CONFIGURE_ARGS+=--disable-idle-hack
.endif
.if defined(WITH_INSTRUMENT)
+BROKEN= currently unbuildable
CONFIGURE_ARGS+=--enable-instrumentation
.else
CONFIGURE_ARGS+=--disable-instrumentation
@@ -201,6 +196,12 @@ CONFIGURE_ARGS+=--enable-iodebug
CONFIGURE_ARGS+=--disable-iodebug
.endif
+.if defined(WITH_LARGE_RAMFILE)
+CONFIGURE_ARGS+=--enable-large-ramfile
+.else
+CONFIGURE_ARGS+=--disable-large-ramfile
+.endif
+
.if !defined(WITH_LOGGING)
CONFIGURE_ARGS+=--disable-logging
.else
@@ -280,7 +281,7 @@ CONFIGURE_ARGS+=--without-rfb
.endif
.if defined(WITH_SB16)
-CONFIGURE_ARGS+=--enable-sb16=freebsd
+CONFIGURE_ARGS+=--enable-sb16
.endif
.if defined(WITH_SDL)
@@ -308,12 +309,6 @@ CONFIGURE_ARGS+=--with-svga
CONFIGURE_ARGS+=--with-term
.endif
-.if !defined(WITH_TCACHE)
-CONFIGURE_ARGS+=--disable-trace-cache
-.else
-CONFIGURE_ARGS+=--enable-trace-cache
-.endif
-
.if defined(WITH_USB)
CONFIGURE_ARGS+=--enable-usb
.else
@@ -326,10 +321,10 @@ CONFIGURE_ARGS+=--enable-usb-ohci
CONFIGURE_ARGS+=--disable-usb-ohci
.endif
-.if !defined(WITH_VBE)
-CONFIGURE_ARGS+=--disable-vbe
+.if defined(WITH_USB_XHCI)
+CONFIGURE_ARGS+=--enable-usb-xhci
.else
-CONFIGURE_ARGS+=--enable-vbe
+CONFIGURE_ARGS+=--disable-usb-xhci
.endif
.if defined(WITH_VMX)
@@ -352,12 +347,6 @@ USE_XORG= xrandr
CONFIGURE_ARGS+=--with-x11
.endif
-.if defined(WITH_X2APIC)
-CONFIGURE_ARGS+=--enable-x2apic
-.else
-CONFIGURE_ARGS+=--disable-x2apic
-.endif
-
.if defined(WITH_X86_64)
CONFIGURE_ARGS+=--enable-x86-64
.else
@@ -378,6 +367,19 @@ IGNORE= can not install: WITH_CPU_LEVEL must be an integer value between 3 and
CONFIGURE_ARGS+=--enable-cpu-level=${WITH_CPU_LEVEL}
.endif
+.if defined(WITH_SB16) || defined(WITH_ES1370)
+LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
+CONFIGURE_ENV+= SOUND_LINK_OPTS="-L${LOCALBASE}/lib"
+.endif
+
+.if defined(WITH_DEBUGGER) && defined(WITH_GDB_STUB)
+IGNORE= DEBUGGER and GDB_STUB are mutialy exclusive
+.endif
+
+.if defined(WITH_GDB_STUB) && defined(WITH_SMP)
+IGNORE= GDB_STUB is incompatible with multiprocessor
+.endif
+
pre-everything::
@${ECHO_CMD}
.if !defined(WITH_CPU_LEVEL)
@@ -403,7 +405,7 @@ post-patch:
s|/usr/local/share/doc/bochs|${DOCSDIR}|' \
${WRKSRC}/doc/docbook/user/user.dbk ${WRKSRC}/doc/man/*.[15]
@${REINPLACE_CMD} -Ee 's|/usr/(include/vga\.h)|${LOCALBASE}/\1|' \
- ${WRKSRC}/gui/svga.cc
+ ${WRKSRC}/gui/svga.cc
@${REINPLACE_CMD} -Ee \
's|(^LOCAL_CXXFLAGS.+=)|\1 @CPPFLAGS@|; \
s|(-lvgagl)$$|\1 @LDFLAGS@|' \
@@ -428,4 +430,4 @@ post-install:
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/bochs/distinfo b/emulators/bochs/distinfo
index 249bf617da5b..c2c2843aa79a 100644
--- a/emulators/bochs/distinfo
+++ b/emulators/bochs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bochs-2.4.6.tar.gz) = 689dcc5fccfd70c8340a54986f0cb9c2824009ed602718802868333da9ac53b9
-SIZE (bochs-2.4.6.tar.gz) = 4067147
+SHA256 (bochs-2.5.1.tar.gz) = 8d3f2ccd8fc3df2aff7ea370afc521cadd4a4f545faf6b0421013453ce3ea26e
+SIZE (bochs-2.5.1.tar.gz) = 4126651
diff --git a/emulators/bochs/files/patch-iodev::cdrom.cc b/emulators/bochs/files/patch-iodev::cdrom.cc
deleted file mode 100644
index d00db170be9e..000000000000
--- a/emulators/bochs/files/patch-iodev::cdrom.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-
-$FreeBSD$
-
---- iodev/cdrom.cc 2002/03/11 23:15:19 1.1
-+++ iodev/cdrom.cc 2002/03/11 23:15:57
-@@ -37,6 +37,7 @@
- #define LOG_THIS /* no SMF tricks here, not needed */
-
- extern "C" {
-+#include <arpa/inet.h>
- #include <errno.h>
- }
-
diff --git a/emulators/bochs/pkg-plist b/emulators/bochs/pkg-plist
index dde88e62d8c7..d250833ce6b6 100644
--- a/emulators/bochs/pkg-plist
+++ b/emulators/bochs/pkg-plist
@@ -29,8 +29,9 @@ bin/bximage
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/biossums.txt
%%PORTDOCS%%%%DOCSDIR%%/bochsrc-sample.txt
+%%PORTDOCS%%%%DOCSDIR%%/cpu_configurability.txt
%%PORTDOCS%%%%DOCSDIR%%/enh_dbg_user_man.txt
-%%PORTDOCS%%%%DOCSDIR%%/html/cosimulation.html
+%%PORTDOCS%%%%DOCSDIR%%/html/bxdebugger.html
%%PORTDOCS%%%%DOCSDIR%%/memory.txt
%%PORTDOCS%%%%DOCSDIR%%/random.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html