aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dri
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2014-11-27 22:48:48 +0800
committerkwm <kwm@FreeBSD.org>2014-11-27 22:48:48 +0800
commitaeabb9786829859e391a001543e9ed549c2d2164 (patch)
tree1ecbb30056b0f8fca9bcd57532fa4d734cae33b4 /graphics/dri
parent41bee435d7b27f06071822aa1d3e62a4115ed119 (diff)
downloadfreebsd-ports-gnome-aeabb9786829859e391a001543e9ed549c2d2164.tar.gz
freebsd-ports-gnome-aeabb9786829859e391a001543e9ed549c2d2164.tar.zst
freebsd-ports-gnome-aeabb9786829859e391a001543e9ed549c2d2164.zip
Update to 10.3.4.
Enable TEXTURE option in dri by default [1]. This allows for OpenGL higher then 2.1 to be supported. Make sure we depend on llvm at run time when gallium is enabled. The gallium based modules link to the llvm shared libraries. [2] PR: followup on 194655 [2] Approved by: core@ [1] Obtained from: xorg-dev repo
Diffstat (limited to 'graphics/dri')
-rw-r--r--graphics/dri/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile
index 2d5976a92ef0..bf658cdf3387 100644
--- a/graphics/dri/Makefile
+++ b/graphics/dri/Makefile
@@ -16,6 +16,7 @@ USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto \
presentproto xvmc xshmfence
OPTIONS_DEFINE= TEXTURE
+OPTIONS_DEFAULT=TEXTURE
OPTIONS_DEFINE_i386= GALLIUM
OPTIONS_DEFAULT_i386= GALLIUM
@@ -70,6 +71,7 @@ DRI_LLVM_VER= 33
. endif
BUILD_DEPENDS+= llvm${DRI_LLVM_VER}>=0:${PORTSDIR}/devel/llvm${DRI_LLVM_VER}
+RUN_DEPENDS+= llvm${DRI_LLVM_VER}>=0:${PORTSDIR}/devel/llvm${DRI_LLVM_VER}
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${DRI_LLVM_VER}
CONFIGURE_ARGS+=--enable-gallium-llvm \
@@ -92,7 +94,6 @@ IGNORE= VDPAU option requires GALLIUM support to be enabled
.endif
CONFIGURE_ARGS+=--enable-vdpau
LIB_DEPENDS+= libvdpau.so:${PORTSDIR}/multimedia/libvdpau
-RUN_DEPENDS+= llvm${DRI_LLVM_VER}:${PORTSDIR}/devel/llvm${DRI_LLVM_VER}
PLIST_SUB+= VDPAU=""
.else
CONFIGURE_ARGS+=--disable-vdpau