Skip to content

Commit

Permalink
graphics/quesoglc: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 26, 2023
1 parent 5b3ae40 commit 8a3ca86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions graphics/quesoglc/Makefile
Expand Up @@ -40,6 +40,12 @@ TEST_BUILD_DEPENDS= ${LOCALBASE}/lib/libglut.so:graphics/freeglut \
${LOCALBASE}/lib/libXmu.so:x11-toolkits/libXmu
TEST_TEST_TARGET= check

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
Expand Down

0 comments on commit 8a3ca86

Please sign in to comment.