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.
This commit is contained in:
Kris Kennaway 2003-01-25 00:46:18 +00:00
parent 168da5356c
commit 1576539fd5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73961

View file

@ -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}