ports/83094: [PATCH] emulators/dosbox: opt for turning off i86 dcore

Radim Kolar hsn at netmag.cz
Thu Jul 7 14:20:19 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list