Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 06:05:44 GMT
From:      Nick Triantos <nick-freebsd@triantos.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135018: Port multimedia/vlc fails to compile when WITHOUT_X11=1 due to dependency on glx
Message-ID:  <200905280605.n4S65ila048327@www.freebsd.org>
Resent-Message-ID: <200905280610.n4S6A2so005279@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135018
>Category:       ports
>Synopsis:       Port multimedia/vlc fails to compile when WITHOUT_X11=1 due to dependency on glx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 28 06:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Nick Triantos
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD bsd.triantos.com 7.2-RELEASE FreeBSD 7.2-RELEASE #15: Mon May  4 13:41:52 PDT 2009     nickXXXbsd.triantos.com:/usr/obj/usr/src/sys/BSD-TRIANTOS  i386
>Description:
When compiling VLC with WITHOUT_X11=1, the port will fail to compile due to dependency on libglx.  Specifically, the source's configure script will fail.
>How-To-Repeat:
cd /usr/ports/multimedia/vlc
make WITHOUT_LIBNOTIFY=1 WITHOUT_HAL=1 WITHOUT_OPENGL=1 WITHOUT_X11=1 WITHOUT_V4L=1 package
>Fix:
In Makefile, disable glx if X11 is also disabled.

.if defined(WITHOUT_X11)
CONFIGURE_ARGS+=--disable-x11 \
        --disable-glx
.else
USE_XORG=   xpm
CONFIGURE_ARGS+=--enable-x11 \
        --enable-glx
.endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905280605.n4S65ila048327>