svn commit: r322539 - head/emulators/dosbox

Felippe de Meirelles Motta lippe at FreeBSD.org
Mon Jul 8 21:28:29 UTC 2013


Author: lippe
Date: Mon Jul  8 21:28:28 2013
New Revision: 322539
URL: http://svnweb.freebsd.org/changeset/ports/322539

Log:
  - Add OPTIONS to enable internal debugger
  
  PR:		ports/179924
  Submitted by:	Dmitry Marakasov <amdmi3 at amdmi3.ru>
  Approved by:	Tom Carrick <knyght at gmail.com> (maintainer)

Modified:
  head/emulators/dosbox/Makefile

Modified: head/emulators/dosbox/Makefile
==============================================================================
--- head/emulators/dosbox/Makefile	Mon Jul  8 20:22:33 2013	(r322538)
+++ head/emulators/dosbox/Makefile	Mon Jul  8 21:28:28 2013	(r322539)
@@ -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 <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


More information about the svn-ports-all mailing list