Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jul 2005 16:13:27 +0200
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        knyght@gmail.com, hsn@sd.iol.cz
Subject:   ports/83094: [PATCH] emulators/dosbox: opt for turning off i86 dcore 
Message-ID:  <E1DqX83-000Ezi-F7@sanatana.dharma>
Resent-Message-ID: <200507071420.j67EKIgb091202@freefall.freebsd.org>

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

>Number:         83094
>Category:       ports
>Synopsis:       [PATCH] emulators/dosbox: opt for turning off i86 dcore
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 07 14:20:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD sanatana.dharma 5.4-STABLE FreeBSD 5.4-STABLE #13: Sat Jul  2 13:14:50 CEST
>Description:
Because new i86 dynamic core is not in the perfect shape, sometimes
needs to be turned off. Added compile time option for doing that.

Port maintainer (knyght@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- dosbox-0.63.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/emulators/dosbox/Makefile /home/hsn/hacked/dosbox/Makefile
--- /usr/ports/emulators/dosbox/Makefile	Mon Jan  3 22:43:09 2005
+++ /home/hsn/hacked/dosbox/Makefile	Thu Jul  7 14:58:13 2005
@@ -20,6 +20,10 @@
 USE_REINPLACE=	yes
 USE_SDL=	sdl net
 
+OPTIONS=	DYNAMIC "Enable dynamic I86 core" on
+
+.include <bsd.port.pre.mk>
+
 MAN1=		dosbox.1
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
@@ -28,6 +32,10 @@
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS+=	--enable-core-inline
 
+.if defined(WITHOUT_DYNAMIC)
+CONFIGURE_ARGS+=	--disable-dynamic-x86
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
 		${WRKSRC}/docs/dosbox.1
@@ -46,4 +54,4 @@
 post-install:
 	@${CAT} ${WRKDIR}/pkg-message
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- dosbox-0.63.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DqX83-000Ezi-F7>