aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2011-03-14 07:09:10 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2011-03-14 07:09:10 +0000
commitb6cfa67b9ef6cd320bdcbcd9ab5003c1d064cf49 (patch)
tree6056f0f5adda1e93b22a005f50d04ee260f8fc03 /x11/nvidia-driver
parente8b47f54b7d45f54cb8f9d07c21fccace7f0bae8 (diff)
downloadports-b6cfa67b9ef6cd320bdcbcd9ab5003c1d064cf49.tar.gz
ports-b6cfa67b9ef6cd320bdcbcd9ab5003c1d064cf49.zip
Notes
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index fe5dd47af964..07eca02a9a9c 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -10,13 +10,13 @@ DISTVERSION?= 256.53
PORTREVISION?= 1 # As a reminder it can be overridden
CATEGORIES= x11 kld
MASTER_SITES= ${MASTER_SITE_NVIDIA}
-ARCH_SUFX= ${ARCH:S/i386//:S/amd/_/}
# MASTER_SITE_SUBDIR has to be set later because it depends on NVVERSION
DISTNAME= NVIDIA-FreeBSD-x86${ARCH_SUFX}-${DISTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= NVidia graphics card binary drivers for hardware OpenGL rendering
+ARCH_SUFX= ${ARCH:S/i386//:S/amd/_/}
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
USE_GL= gl
USE_LDCONFIG= yes
@@ -57,10 +57,8 @@ OPTIONS+= WBINVD "Enable heavy-weight cache-flush logic" off
.include <bsd.port.pre.mk>
-# XXX Should use ${PKG_INFO} but it does not expand for some reason XXX
-#
-XSERVVERSION!= /usr/sbin/pkg_info -qO x11-servers/xorg-server 2>/dev/null || true
-LIBGLVERSION!= /usr/sbin/pkg_info -qO graphics/libGL 2>/dev/null || true
+XSERVVERSION!= ${PKG_INFO} -qO x11-servers/xorg-server 2>/dev/null || true
+LIBGLVERSION!= ${PKG_INFO} -qO graphics/libGL 2>/dev/null || true
.if empty(XSERVVERSION)
IGNORE= needs an X server implementation installed