multimedia/vlc: USE_GL only if X11 is enabled

Submitted by:	olgeni
This commit is contained in:
William Grzybowski 2013-11-30 18:53:41 +00:00
parent 30634235fa
commit df6e693eea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335336

View file

@ -243,7 +243,6 @@ ZVBI_CONFIGURE_ENABLE= zvbi
USE_XZ= yes
USES= desktop-file-utils iconv perl5 gmake pkgconfig
USE_PERL5= build
USE_GL= yes
USE_CSTD= gnu99
WANT_GNOME= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/a$//}
@ -355,7 +354,8 @@ CONFIGURE_ARGS+=--disable-v4l2
.endif
.if ${PORT_OPTIONS:MX11}
USE_XORG=xcb xpm
USE_GL= yes
USE_XORG= xcb xpm
LIB_DEPENDS+= libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms
CONFIGURE_ARGS+=--with-x --enable-glx --enable-xcb --enable-xvideo
.else