Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 14:43:30 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        knyght@gmail.com
Subject:   ports/179924: [PATCH] emulators/dosbox: add OPTIONS to enable internal debugger
Message-ID:  <20130624104330.ACBD8BDF@hades.panopticon>
Resent-Message-ID: <201306241050.r5OAo0rx096328@freefall.freebsd.org>

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

>Number:         179924
>Category:       ports
>Synopsis:       [PATCH] emulators/dosbox: add OPTIONS to enable internal debugger
>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:   Mon Jun 24 10:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.1-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #0 r249077: Thu Apr  4 10:42:30
>Description:
Add OPTIONS to enable internal debugger

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

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- dosbox-0.74_4.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 321673)
+++ Makefile	(working copy)
@@ -27,8 +27,19 @@
 		"" "dosbox" \
 		"System;Emulator;" "true"
 
+OPTIONS_RADIO=	DEBUGGER
+OPTIONS_RADIO_DEBUGGER=DEBUGGER_ENABLE DEBUGGER_HEAVY
+DEBUGGER_ENABLE_DESC=Enable internal debugger
+DEBUGGER_HEAVY_DESC=Enable internal debugger with extra features
+
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MDEBUGGER_ENABLE}
+CONFIGURE_ARGS+=	--enable-debug=yes
+.elif ${PORT_OPTIONS:MDEBUGGER_HEAVY}
+CONFIGURE_ARGS+=	--enable-debug=heavy
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
 		${WRKSRC}/docs/dosbox.1
--- dosbox-0.74_4.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?20130624104330.ACBD8BDF>