ports/179924: [PATCH] emulators/dosbox: add OPTIONS to enable internal debugger
Dmitry Marakasov
amdmi3 at amdmi3.ru
Mon Jun 24 10:50:01 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list