summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-21 00:46:20 +0000
committeredwin <edwin@FreeBSD.org>2003-01-21 00:46:20 +0000
commitf358f2121bceb3fc7025e93e01dc5aca9d178417 (patch)
tree67f491a33b26de8abe9e71519634aa0b58661626 /x11
parent1de6cb71d5b7c13b98b5beef54845b73b66102be (diff)
downloadFreeBSD-ports-f358f2121bceb3fc7025e93e01dc5aca9d178417.zip
FreeBSD-ports-f358f2121bceb3fc7025e93e01dc5aca9d178417.tar.gz
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>
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 6802a5e5..31da747 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}
OpenPOWER on IntegriCloud