OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/sdl2/Makefile,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 Makefile
--- Makefile 20 Aug 2021 16:59:32 -0000 1.36
+++ Makefile 14 Nov 2021 16:12:24 -0000
@@ -7,6 +7,7 @@ DISTNAME= SDL2-${V}
PKGNAME= sdl2-${V}
CATEGORIES= devel
MASTER_SITES= https://www.libsdl.org/release/
+REVISION= 0
SHARED_LIBS= SDL2 0.10 # 0.16
@@ -43,6 +44,9 @@ CONFIGURE_ARGS+= --disable-alsa \
--disable-oss \
--disable-pulseaudio \
--disable-sndio-shared \
+ --disable-video-wayland \
+ --disable-video-wayland-qt-touch \
+ --disable-wayland-shared \
--disable-x11-shared
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"