summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/nvidia-driver/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 6802a5e50710..31da7470b830 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -16,8 +16,8 @@ MAINTAINER= ports@freebsd.org
USE_X_PREFIX= yes
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
-XSERVVERSION!= pkg_info -O x11-servers/XFree86-4-Server | grep Server-
-XLIBVERSION!= pkg_info -O x11/XFree86-4-libraries | grep libraries-
+XSERVVERSION!= pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | grep Server- || true
+XLIBVERSION!= pkg_info -O x11/XFree86-4-libraries 2>/dev/null | grep libraries- || true
PLIST_SUB= XSERVVERSION=${XSERVVERSION} XLIBVERSION=${XLIBVERSION} \
LINUXBASE=${LINUXBASE}