summaryrefslogtreecommitdiff
path: root/x11-toolkits/linux-c6-qt47-x11
diff options
context:
space:
mode:
authorJohannes Jost Meixner <xmj@FreeBSD.org>2015-04-05 07:23:49 +0000
committerJohannes Jost Meixner <xmj@FreeBSD.org>2015-04-05 07:23:49 +0000
commitabb03c2e2599aba4232bad0be4fd32e41d70b6ec (patch)
tree90fca858b3cba3e15ed54ee8d10ddaea30697e29 /x11-toolkits/linux-c6-qt47-x11
parentemulators/linux-{c6,f10}: uses metaport (diff)
Add NVIDIA_GL description to Mk/bsd.options.desc.mk
- Add NVIDIA_GL description to Mk/bsd.options.desc.mk - Remove NVIDIA_GL_DESC from all concerned ports - Use options helpers where adequate. Differential Revision: https://reviews.freebsd.org/D1759 Approved by: koobs (mentor) Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=383259
Diffstat (limited to 'x11-toolkits/linux-c6-qt47-x11')
-rw-r--r--x11-toolkits/linux-c6-qt47-x11/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/x11-toolkits/linux-c6-qt47-x11/Makefile b/x11-toolkits/linux-c6-qt47-x11/Makefile
index 98d67f52cb42..a5fc2adb164f 100644
--- a/x11-toolkits/linux-c6-qt47-x11/Makefile
+++ b/x11-toolkits/linux-c6-qt47-x11/Makefile
@@ -20,21 +20,16 @@ USE_LDCONFIG= yes
LINUX_DIST_VER= 5
OPTIONS_DEFINE= NVIDIA_GL
-NVIDIA_GL_DESC= Use GL driver from nvidia-driver
-NVIDIA_GL_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+
+NVIDIA_GL_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \
+ linux-c6-libGLU>0:${PORTSDIR}/graphics/linux-c6-libGLU
+NVIDIA_GL_USE_OFF= linux_apps=dri
USE_LINUX_APPS= fontconfig png xorglibs png alsalib jpeg tiff qt47
USE_LINUX_RPM= yes
RPMVERSION= 1_18.el5
LINUX_RPM_ARCH= i386
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MNVIDIA_GL}
-USE_LINUX_APPS+= dri
-.endif
-
-
DESCR= ${.CURDIR}/../../devel/qt4/pkg-descr
post-patch: