lcms2 is not used, and the wayland libs should be listed in WANTLIB
(not new with this diff, but other changes in the ports tree resulted
in them being used). I think this is the correct diff.
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/vlc/Makefile,v
retrieving revision 1.268
diff -u -p -r1.268 Makefile
--- Makefile 2 Feb 2024 20:09:08 -0000 1.268
+++ Makefile 19 Feb 2024 08:41:51 -0000
@@ -5,7 +5,7 @@ V= 3.0.18
DISTNAME= vlc-${V}
PKGNAME-main= ${DISTNAME}
PKGNAME-jack= vlc-jack-${V}
-REVISION-main= 5
+REVISION-main= 6
CATEGORIES= x11
SITES= https://download.videolan.org/pub/videolan/vlc/${V}/
EXTRACT_SUFX= .tar.xz
@@ -25,6 +25,7 @@ MAINTAINER= Brad Smith <[email protected]
PERMIT_PACKAGE= Yes
WANTLIB-common= dbus-1 iconv idn intl m pthread
+WANTLIB-main += ${WANTLIB-common} ${MODLUA_WANTLIB}
WANTLIB-main += EGL GL ICE Qt5Core Qt5Gui Qt5Svg Qt5Widgets Qt5X11Extras
WANTLIB-main += SDL SDL_image SM X11 X11-xcb Xau Xcomposite Xcursor
WANTLIB-main += Xdamage Xdmcp Xext Xfixes Xi Xinerama Xpm Xrandr Xrender
@@ -41,33 +42,35 @@ WANTLIB-main += absl_flags_reflection ab
WANTLIB-main += absl_hashtablez_sampler absl_int128
absl_kernel_timeout_internal
WANTLIB-main += absl_log_entry absl_log_globals absl_log_initialize
WANTLIB-main += absl_log_internal_check_op absl_log_internal_conditions
-WANTLIB-main += absl_log_internal_fnmatch absl_log_internal_format
absl_log_internal_globals
-WANTLIB-main += absl_log_internal_log_sink_set absl_log_internal_message
-WANTLIB-main += absl_log_internal_nullguard absl_log_internal_proto
-WANTLIB-main += absl_log_severity absl_log_sink absl_low_level_hash
-WANTLIB-main += absl_malloc_internal absl_raw_hash_set
absl_raw_logging_internal
-WANTLIB-main += absl_spinlock_wait absl_stacktrace absl_status absl_statusor
-WANTLIB-main += absl_str_format_internal absl_strerror absl_string_view
-WANTLIB-main += absl_strings absl_strings_internal absl_symbolize
absl_synchronization
-WANTLIB-main += absl_throw_delegate absl_time absl_time_zone
absl_vlog_config_internal aom archive
-WANTLIB-main += ass atk-1.0 atk-bridge-2.0 atspi avahi-client avahi-common
-WANTLIB-main += avcodec avformat avutil b2 bluray brotlidec brotlienc
-WANTLIB-main += bz2 c cairo cairo-gobject cddb crypto dav1d double-conversion
-WANTLIB-main += drm dvbpsi dvdnav dvdread ebml epoxy execinfo expat
-WANTLIB-main += ffi fontconfig freetype fribidi gbm gcrypt gdk-3 gdk_pixbuf-2.0
-WANTLIB-main += gio-2.0 glapi glib-2.0 gmodule-2.0 gmp gnutls gobject-2.0
-WANTLIB-main += gpg-error graphite2 gsm gthread-2.0 gtk-3 harfbuzz
-WANTLIB-main += hogweed icudata icui18n icuuc idn2 jpeg lcms2 lz4 lzma
-WANTLIB-main += matroska mp3lame nettle nfs notify ogg opus p11-kit
-WANTLIB-main += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre2-16 pcre2-8
-WANTLIB-main += pixman-1 placebo png postproc protobuf-lite rsvg-2
-WANTLIB-main += sharpyuv smb2 sndio soxr speex speexdsp ssl swresample
-WANTLIB-main += swscale tag tar tasn1 theoradec theoraenc tiff udfread
-WANTLIB-main += unibreak unistring usbhid utf8_range utf8_validity
-WANTLIB-main += vorbis vorbisenc vpx webp x264 x265 xcb xcb-composite
-WANTLIB-main += xcb-dri2 xcb-dri3 xcb-glx xcb-keysyms xcb-present xcb-randr
-WANTLIB-main += xcb-render xcb-shm xcb-sync xcb-xfixes xcb-xv xml2
-WANTLIB-main += xshmfence xvidcore z zstd ${WANTLIB-common} ${MODLUA_WANTLIB}
+WANTLIB-main += absl_log_internal_fnmatch absl_log_internal_format
+WANTLIB-main += absl_log_internal_globals absl_log_internal_log_sink_set
+WANTLIB-main += absl_log_internal_message absl_log_internal_nullguard
+WANTLIB-main += absl_log_internal_proto absl_log_severity absl_log_sink
+WANTLIB-main += absl_low_level_hash absl_malloc_internal absl_raw_hash_set
+WANTLIB-main += absl_raw_logging_internal absl_spinlock_wait absl_stacktrace
+WANTLIB-main += absl_status absl_statusor absl_str_format_internal
+WANTLIB-main += absl_strerror absl_string_view absl_strings
absl_strings_internal
+WANTLIB-main += absl_symbolize absl_synchronization absl_throw_delegate
+WANTLIB-main += absl_time absl_time_zone absl_vlog_config_internal
+WANTLIB-main += aom archive ass atk-1.0 atk-bridge-2.0 atspi avahi-client
+WANTLIB-main += avahi-common avcodec avformat avutil b2 bluray brotlidec
+WANTLIB-main += brotlienc bz2 c cairo cairo-gobject cddb crypto dav1d
+WANTLIB-main += double-conversion drm dvbpsi dvdnav dvdread ebml epoll-shim
+WANTLIB-main += epoxy execinfo expat ffi fontconfig freetype fribidi
+WANTLIB-main += gbm gcrypt gdk-3 gdk_pixbuf-2.0 gio-2.0 glapi glib-2.0
+WANTLIB-main += gmodule-2.0 gmp gnutls gobject-2.0 gpg-error graphite2
+WANTLIB-main += gsm gthread-2.0 gtk-3 harfbuzz hogweed icudata icui18n
+WANTLIB-main += icuuc idn2 jpeg lz4 lzma matroska mp3lame nettle nfs
+WANTLIB-main += notify ogg opus p11-kit pango-1.0 pangocairo-1.0 pangoft2-1.0
+WANTLIB-main += pcre2-16 pcre2-8 pixman-1 png postproc protobuf-lite
+WANTLIB-main += rsvg-2 sharpyuv smb2 sndio soxr speex speexdsp ssl
+WANTLIB-main += swresample swscale tag tar tasn1 theoradec theoraenc
+WANTLIB-main += tiff udfread unibreak unistring usbhid utf8_range utf8_validity
+WANTLIB-main += vorbis vorbisenc vpx wayland-client wayland-cursor
+WANTLIB-main += wayland-egl webp x264 x265 xcb xcb-composite xcb-dri2
+WANTLIB-main += xcb-dri3 xcb-glx xcb-keysyms xcb-present xcb-randr
+WANTLIB-main += xcb-render xcb-shm xcb-sync xcb-xfixes xcb-xv xkbcommon
+WANTLIB-main += xml2 xshmfence xvidcore z zstd
# v4l2 is dlopen'd
WANTLIB-main+= v4l2
@@ -114,7 +117,6 @@ LIB_DEPENDS-main= ${MODQT5_LIB_DEPENDS}
devel/sdl-image \
graphics/ffmpeg \
graphics/libdvbpsi \
- graphics/libplacebo \
graphics/png \
multimedia/libass \
multimedia/libbluray \
@@ -173,6 +175,7 @@ CONFIGURE_ARGS+=--disable-a52 \
--disable-kate \
--disable-kwallet \
--disable-libmpeg2 \
+ --disable-libplacebo \
--disable-libva \
--disable-linsys \
--disable-live555 \