From da1e8cf6ab2ddd5f75c1957f4b015ac352f88029 Mon Sep 17 00:00:00 2001 From: Felippe de Meirelles Motta Date: Mon, 8 Jul 2013 21:28:28 +0000 Subject: [PATCH] - Add OPTIONS to enable internal debugger PR: ports/179924 Submitted by: Dmitry Marakasov Approved by: Tom Carrick (maintainer) --- emulators/dosbox/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index d76d9a7e5519..feb3db9178a8 100644 --- a/emulators/dosbox/Makefile +++ b/emulators/dosbox/Makefile @@ -27,8 +27,19 @@ DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \ "" "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 +.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