- Disable libinput support for now:
- Disable linux rumble joystick support
- Disable linux force feedback joystick support
- Update WANTLIB
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/bzflag/Makefile,v
diff -u -p -r1.53 Makefile
--- Makefile 26 Sep 2023 09:41:32 -0000 1.53
+++ Makefile 2 Nov 2023 20:32:27 -0000
@@ -2,7 +2,7 @@ COMMENT= graphical multiplayer 3D tank w
V= 2.4.22
DISTNAME= bzflag-${V}
-REVISION= 0
+REVISION= 1
CATEGORIES= games x11
SITES= https://download.bzflag.org/bzflag/source/${V}/
EXTRACT_SUFX= .tar.bz2
@@ -12,13 +12,13 @@ HOMEPAGE= https://www.bzflag.org/
# LGPLv2.1 only or MPL 2.0
PERMIT_PACKAGE= Yes
-WANTLIB += ${COMPILER_LIBCXX} GL GLEW GLU ICE SDL2 SM X11
-WANTLIB += X11-xcb Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama
-WANTLIB += Xmu Xrandr Xrender Xss Xt Xxf86vm c cares crypto
-WANTLIB += curl curses drm expat glapi m nghttp2 pthread
-WANTLIB += samplerate sndio ssl usbhid xcb xcb-dri2 xcb-dri3
-WANTLIB += xcb-glx xcb-present xcb-shm xcb-sync xcb-xfixes
-WANTLIB += xshmfence z
+WANTLIB += ${COMPILER_LIBCXX} GL GLEW GLU ICE SDL2 SM X11 X11-xcb
+WANTLIB += Xau Xcursor Xdmcp Xext Xfixes Xi Xmu Xrandr Xrender
+WANTLIB += Xss Xt Xxf86vm c cares crypto curl curses drm expat
+WANTLIB += glapi m nghttp2 nghttp3 ngtcp2 ngtcp2_crypto_quictls
+WANTLIB += samplerate sndio ssl usbhid xcb xcb-dri2 xcb-dri3 xcb-glx
+WANTLIB += xcb-present xcb-randr xcb-shm xcb-sync xcb-xfixes xshmfence
+WANTLIB += z
# C++11
COMPILER= base-clang ports-gcc
@@ -34,7 +34,9 @@ LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
- ac_cv_lib_bind_gethostent=no
+ ac_cv_lib_bind_gethostent=no \
+ ac_cv_header_linux_input_h=no
+
CONFIGURE_ARGS= --disable-static
# Do not configure bundled software we don't use. This also avoids
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure 2 Nov 2023 20:32:27 -0000
@@ -0,0 +1,32 @@
+Disable libinput support for now:
+ - Disable linux rumble joystick support
+ - Disable linux force feedback joystick support
+Index: configure
+--- configure.orig
++++ configure
+@@ -21475,7 +21475,6 @@ for ac_header in \
+ fcntl.h \
+ inttypes.h \
+ limits.h \
+- linux/input.h \
+ process.h \
+ sched.h \
+ stdint.h \
+@@ -23897,7 +23896,7 @@ struct ff_effect x; x.u.rumble.weak_magnitude = 42; re
+ }
+ _ACEOF
+ if ac_fn_cxx_try_compile "$LINENO"; then :
+- ac_ff_effect_rumble=yes
++ ac_ff_effect_rumble=no
+ else
+ ac_ff_effect_rumble=no
+ fi
+@@ -23925,7 +23924,7 @@ struct ff_effect x; x.direction = 0x4000; return 0;
+ }
+ _ACEOF
+ if ac_fn_cxx_try_compile "$LINENO"; then :
+- ac_ff_effect_directional=yes
++ ac_ff_effect_directional=no
+ else
+ ac_ff_effect_directional=no
+ fi
No comments:
Post a Comment