Skip to content

Commit

Permalink
graphics/devil: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 24, 2023
1 parent 10a7ca6 commit 34b2b20
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions graphics/devil/Makefile
Expand Up @@ -62,6 +62,12 @@ SQUISH_CMAKE_BOOL= IL_USE_DXTC_SQUISH
#NVTT_CMAKE_BOOL= IL_USE_DXTC_NVIDIA
CMAKE_ARGS+= -DIL_USE_DXTC_NVIDIA=0

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CXXFLAGS+= -Dregister=
.endif

post-install-DOCS-on:
cd ${WRKSRC}/DevIL-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/DevIL && ${INSTALL_DATA} CREDITS NEWS README.md TODO ${STAGEDIR}${DOCSDIR}/
Expand Down

0 comments on commit 34b2b20

Please sign in to comment.