Skip to content

Commit

Permalink
www/webkit2-gtk4: 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 ee3e6d5 commit 2f450c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www/webkit2-gtk4/Makefile
Expand Up @@ -99,6 +99,12 @@ WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \
libwpe-1.0.so:www/libwpe \
libWPEBackend-fdo-1.0.so:www/wpebackend-fdo

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CXXFLAGS+= -Wno-error=enum-constexpr-conversion
.endif

pre-configure:
# .if !exists() evaluates too early before cairo has a chance to be installed
@if ! pkg-config --exists cairo-egl; then \
Expand Down

0 comments on commit 2f450c7

Please sign in to comment.