mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Add OPTIONS to enable internal debugger
PR: ports/179924 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> Approved by: Tom Carrick <knyght@gmail.com> (maintainer)
This commit is contained in:
parent
f25057a7bc
commit
da1e8cf6ab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322539
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user