summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-21 00:46:20 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-21 00:46:20 +0000
commiteb840ae6662779bd554ccc5a6541f23d0907425f (patch)
tree080b235db281c3ad4ba931e66811e75d2c878ada /x11
parentAdd a better description to archivers/untar. (diff)
Fix warnings when x11-servers/XFree86-4-Server or x11/XFree86-4-libraries
are not installed. Submitted by: Stijn Hoop <stijn@win.tue.nl> Reviewed by: Dan Langille <dan@langille.org>
Notes
Notes: svn path=/head/; revision=73687
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}