mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
games/prboom-plus: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
42e5fc480c
commit
4d77cd2d4d
@ -33,6 +33,12 @@ OPENGL_USES= gl
|
||||
OPENGL_USE= GL=glu
|
||||
OPENGL_CONFIGURE_ENABLE= gl
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
|
||||
-e '/^gamesdir/s|/games|/bin|' \
|
||||
|
Loading…
Reference in New Issue
Block a user