graphics/wdune: Fix build with llvm16

- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-21 21:19:54 +02:00
parent 489227db29
commit 5ad6ea9165

View file

@ -20,22 +20,25 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libpng.so:graphics/png \
libswresample.so.3:multimedia/ffmpeg4
USES= compiler:c++11-lang gl jpeg motif sdl tar:bzip2 xorg
USE_XORG= x11 xft xi xmu xext xt
USES= compiler:c++11-lang gl jpeg localbase:ldflags motif sdl tar:bzip2 xorg
USE_CXXSTD= c++14
USE_GL= gl glu glut
USE_SDL= sdl
USE_XORG= x11 xft xi xmu xext xt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-optimization \
--without-devil \
--with-cgalheaders \
--with-helpurl="${DOCSDIR}/index.html"
CPPFLAGS+= -I${LOCALBASE}/ffmpeg4/include -I${LOCALBASE}/include/freetype2 -D__FREEBSD__
LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib -L${LOCALBASE}/lib
CONFLICTS_INSTALL= ocaml-dune
ALL_TARGET= dune
CPPFLAGS+= -I${LOCALBASE}/ffmpeg4/include -I${LOCALBASE}/include/freetype2 -D__FREEBSD__
LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib
CONFLICTS_INSTALL= ocaml-dune
OPTIONS_DEFINE= DOCS
do-install: