emulators/dosbox: fix build with llvm16
Undefine 'register' keyword. PR: 272659 Reported by: Trond.Endrestol@ximalas.info
This commit is contained in:
parent
de30501050
commit
99db2990f1
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,11 @@ DEBUGGER_HEAVY_DESC=Enable internal debugger with extra features
|
|||
DEBUGGER_ENABLE_CONFIGURE_ON= --enable-debug=yes
|
||||
DEBUGGER_HEAVY_CONFIGURE_ON= --enable-debug=heavy
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
|
||||
${WRKSRC}/docs/dosbox.1
|
||||
|
|
Loading…
Reference in a new issue