Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 23:57:30 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46937: Update port: emulators/bochs to 2.0.1
Message-ID:  <20030110235730.07682836.tkato@prontomail.com>

next in thread | raw e-mail | index | archive | help

>Number:         46937
>Category:       ports
>Synopsis:       Update port: emulators/bochs to 2.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 10 07:10:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 2.0.1

Remove file:
files/patch-configure.in
files/patch-iodev::soundlnx.cc
files/patch-iodev::soundlnx.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/emulators/bochs/Makefile emulators/bochs/Makefile
--- /usr/ports/emulators/bochs/Makefile	Thu Dec 12 19:46:04 2002
+++ emulators/bochs/Makefile	Tue Jan  7 19:36:14 2003
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	bochs
-PORTVERSION=	1.4.1
+PORTVERSION=	2.0.1
 PORTEPOCH=	1
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
@@ -23,7 +23,8 @@
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
 
-USE_AUTOCONF_VER=	213
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--disable-split-hd
 
 CFLAGS+=	-fno-rtti -fno-exceptions -fomit-frame-pointer
@@ -31,7 +32,8 @@
 # PREFIX isn't honored. force it w/ prefix.
 MAKE_ARGS=	prefix=${PREFIX}
 
-MAN1=		bochs.1 bochsrc.1 bximage.1
+MAN1=		bochs.1 bximage.1
+MAN5=		bochsrc.5
 
 .include <bsd.port.pre.mk>
 
@@ -68,7 +70,7 @@
 .endif
 
 .if defined(WITH_SOUND)
-CONFIGURE_ARGS+=	--enable-sb16=linux
+CONFIGURE_ARGS+=	--enable-sb16=freebsd
 .endif
 
 MSG_FILE=	${PKGDIR}/pkg-message
@@ -167,7 +169,7 @@
 	@${INSTALL_PROGRAM} ${WRKSRC}/bximage ${PREFIX}/bin
 
 install-mans:
-.for mansect in 1
+.for mansect in 1 5
 .for man in ${MAN${mansect}}
 	@${INSTALL_MAN} ${WRKSRC}/doc/man/${man} \
 		${MAN${mansect}PREFIX}/man/man${mansect}
diff -urN /usr/ports/emulators/bochs/distinfo emulators/bochs/distinfo
--- /usr/ports/emulators/bochs/distinfo	Tue Sep 10 20:10:00 2002
+++ emulators/bochs/distinfo	Tue Jan  7 19:07:30 2003
@@ -1 +1 @@
-MD5 (bochs-1.4.1.tar.gz) = 12e591b5cec2e0051e18605483f64678
+MD5 (bochs-2.0.1.tar.gz) = 8af4a88a2f58b86f3764b4375371be29
diff -urN /usr/ports/emulators/bochs/files/patch-configure.in emulators/bochs/files/patch-configure.in
--- /usr/ports/emulators/bochs/files/patch-configure.in	Wed Jun 19 10:07:13 2002
+++ emulators/bochs/files/patch-configure.in	Thu Jan  1 09:00:00 1970
@@ -1,21 +0,0 @@
---- configure.in.orig	Wed Mar 27 17:20:32 2002
-+++ configure.in	Thu May 30 21:32:01 2002
-@@ -101,8 +101,16 @@
- AC_CHECK_FUNCS(usleep, AC_DEFINE(BX_HAVE_USLEEP))
- AC_CHECK_FUNCS(nanosleep, AC_DEFINE(BX_HAVE_NANOSLEEP))
- AC_CHECK_FUNCS(abort, AC_DEFINE(BX_HAVE_ABORT))
--AC_CHECK_TYPE(socklen_t, AC_DEFINE(BX_HAVE_SOCKLEN_T), , [#include <sys/socket.h>])
--
-+AC_MSG_CHECKING(for socklen_t)
-+AC_TRY_COMPILE([#include <sys/types.h>
-+      #include <sys/socket.h>], 
-+    [socklen_t x], 
-+    [
-+      AC_DEFINE(BX_HAVE_SOCKLEN_T)
-+      AC_MSG_RESULT(yes)
-+    ],
-+      AC_MSG_RESULT(no)
-+    )
- AC_MSG_CHECKING(for struct timeval)
- AC_TRY_COMPILE([#include <sys/time.h>],
-     [struct timeval x;], 
diff -urN /usr/ports/emulators/bochs/files/patch-iodev::soundlnx.cc emulators/bochs/files/patch-iodev::soundlnx.cc
--- /usr/ports/emulators/bochs/files/patch-iodev::soundlnx.cc	Sun Jun  3 01:42:57 2001
+++ emulators/bochs/files/patch-iodev::soundlnx.cc	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/emulators/bochs/files/patch-iodev::soundlnx.cc,v 1.1 2001/06/02 16:42:57 sobomax Exp $
-
---- iodev/soundlnx.cc	2001/05/30 22:19:00	1.1
-+++ iodev/soundlnx.cc	2001/05/30 22:19:34
-@@ -22,7 +22,7 @@
- 
- // This file (SOUNDLNX.CC) written and donated by Josef Drexler
- 
--#if defined(linux)
-+#if (defined(linux) || defined(__FreeBSD__))
- 
- #include "bochs.h"
- 
diff -urN /usr/ports/emulators/bochs/files/patch-iodev::soundlnx.h emulators/bochs/files/patch-iodev::soundlnx.h
--- /usr/ports/emulators/bochs/files/patch-iodev::soundlnx.h	Sun Jun  3 01:42:57 2001
+++ emulators/bochs/files/patch-iodev::soundlnx.h	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/emulators/bochs/files/patch-iodev::soundlnx.h,v 1.1 2001/06/02 16:42:57 sobomax Exp $
-
---- iodev/soundlnx.h.orig	Tue Apr 10 05:20:00 2001
-+++ iodev/soundlnx.h	Thu May 31 01:07:43 2001
-@@ -23,7 +23,7 @@
- // This file (SOUNDLNX.H) written and donated by Josef Drexler
- 
- 
--#if defined(linux)
-+#if (defined(linux) || defined(__FreeBSD__))
- 
- #include "bochs.h"
- 
diff -urN /usr/ports/emulators/bochs/pkg-plist emulators/bochs/pkg-plist
--- /usr/ports/emulators/bochs/pkg-plist	Wed May 15 06:48:12 2002
+++ emulators/bochs/pkg-plist	Tue Jan  7 19:37:10 2003
@@ -4,10 +4,11 @@
 libexec/bochs.bin
 share/bochs/bios/BIOS-bochs-2-processors
 share/bochs/bios/BIOS-bochs-4-processors
+share/bochs/bios/BIOS-bochs-8-processors
 share/bochs/bios/BIOS-bochs-latest
 share/bochs/bios/VGABIOS-elpin-2.40
 share/bochs/bios/VGABIOS-elpin-LICENSE
-share/bochs/bios/VGABIOS-lgpl-0.3a
+share/bochs/bios/VGABIOS-lgpl-latest
 share/bochs/bios/VGABIOS-lgpl-README
 share/bochs/bochsrc.sample
 share/bochs/font/fonts.dir
@@ -24,7 +25,6 @@
 %%PORTDOCS%%share/doc/bochs/html/construction.html
 %%PORTDOCS%%share/doc/bochs/html/cosimulation.html
 %%PORTDOCS%%share/doc/bochs/html/cvs-status.html
-%%PORTDOCS%%share/doc/bochs/html/debugger.html
 %%PORTDOCS%%share/doc/bochs/html/developers.html
 %%PORTDOCS%%share/doc/bochs/html/faq.html
 %%PORTDOCS%%share/doc/bochs/html/features.html
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030110235730.07682836.tkato>