Skip to content

Commit

Permalink
graphics/djvulibre: 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 23, 2023
1 parent 47613a2 commit 1f69e3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions graphics/djvulibre/Makefile
Expand Up @@ -38,6 +38,12 @@ DESKTOPFILES_DESC= Install icons and mime types
DESKTOPFILES_CONFIGURE_ENABLE= desktopfiles
DESKTOPFILES_USES= gnome

.include <bsd.port.options.mk>

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

post-patch:
# Remove custom optimization compiler flags
@${REINPLACE_CMD} -e '/-[Og]\*)/d ; \
Expand Down

0 comments on commit 1f69e3b

Please sign in to comment.