pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: multimedia/vlc configuration failure

On Sun, 06 Feb 2011 22:48:00 +0900, Sverre Froyen 
<> wrote:

pkgsrc libX11 does get build and installed as a prerequisite for vlc. I am
using native X, however, which provides its own libX11. The pkgsrc libX11
includes xcb support, the native libX11 does not. I suspect that the vlc
configure step examines the latter.

The question is, how to fix this? The best solution seems to be an upgrade to
the native libX11.

How about following patch?

Index: multimedia/vlc/Makefile
RCS file: /cvsroot/pkgsrc/multimedia/vlc/Makefile,v
retrieving revision 1.106
diff -u -r1.106 Makefile
--- multimedia/vlc/Makefile     31 Jan 2011 16:47:56 -0000      1.106
+++ multimedia/vlc/Makefile     6 Feb 2011 13:49:33 -0000
@@ -151,6 +151,10 @@
 .include "../../multimedia/libogg/"
 .include "../../multimedia/libtheora/"
 .include "../../x11/libX11/"
+# no xcb support libX11?
+.if ${X11_TYPE} != "modular" || !exists(${X11BASE}/lib/pkgconfig/x11-xcb.pc)
+CONFIGURE_ARGS+=       --disable-xcb
 # needs x264_encoder_delayed_frames
 BUILDLINK_API_DEPENDS.x264-devel+= x264-devel>=20100201
 .include "../../multimedia/x264-devel/"

OBATA Akio /

Home | Main Index | Thread Index | Old Index