Fri Apr 12 19:42:05 2024 UTC (65d)
multimedia/gmplayer: Make this cross-compile.

Skip the broken X11 detection in configure by passing `--enable-x11'.
Since this is a gtk2+ front end to mplayer, we require X11 anyway.


(riastradh)
diff -r1.167 -r1.168 pkgsrc/multimedia/gmplayer/Makefile

cvs diff -r1.167 -r1.168 pkgsrc/multimedia/gmplayer/Makefile (expand / switch to context diff)
--- pkgsrc/multimedia/gmplayer/Makefile 2024/04/12 19:32:56 1.167
+++ pkgsrc/multimedia/gmplayer/Makefile 2024/04/12 19:42:05 1.168
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.167 2024/04/12 19:32:56 riastradh Exp $
+# $NetBSD: Makefile,v 1.168 2024/04/12 19:42:05 riastradh Exp $
 #
 # NOTE: if you are updating both mplayer and gmplayer, you must ensure
 # that *both* distinfo files contain the correct, up-to-date files and
@@ -104,7 +104,7 @@
 DIST_SUBDIR=	mplayer
 
 USE_TOOLS+=		pax pkg-config
-CONFIGURE_ARGS+=	--enable-gui --disable-mencoder \
+CONFIGURE_ARGS+=	--enable-gui --enable-x11 --disable-mencoder \
 			--confdir=${PREFIX}/share/mplayer
 CONFIGURE_ARGS+=	--enable-xvmc