aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-25 08:46:18 +0800
committerkris <kris@FreeBSD.org>2003-01-25 08:46:18 +0800
commit064663b1b8def93298820d760894369d372b9229 (patch)
tree4d196b60cd16c11a087e65efbe14776f2eb85002 /x11/nvidia-driver
parent23969199bd02511c94cde956e550a494181d48cf (diff)
downloadfreebsd-ports-gnome-064663b1b8def93298820d760894369d372b9229.tar.gz
freebsd-ports-gnome-064663b1b8def93298820d760894369d372b9229.tar.zst
freebsd-ports-gnome-064663b1b8def93298820d760894369d372b9229.zip
For some reason ${PKG_INFO} doesn't work here, so hard-code
/usr/sbin/pkg_info just to get it working again. Add a note that they should be fixed to use the bsd.port.mk variables.
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 9523578a9901..03069d106064 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -16,8 +16,9 @@ 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 2>/dev/null | grep Server- || true
-XLIBVERSION!= ${PKG_INFO} -O x11/XFree86-4-libraries 2>/dev/null | grep libraries- || true
+# XXX Should use ${PKG_INFO} and ${GREP}
+XSERVVERSION!= /usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | grep Server- || true
+XLIBVERSION!= /usr/sbin/pkg_info -O x11/XFree86-4-libraries 2>/dev/null | grep libraries- || true
PLIST_SUB= XSERVVERSION=${XSERVVERSION} XLIBVERSION=${XLIBVERSION} \
LINUXBASE=${LINUXBASE}