View | Details | Raw Unified | Return to bug 46937
Collapse All | Expand All

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

Return to bug 46937