Also export UNAME_r to fix arm builds.

MFC after:	3 days
X-MFC-with:	r270417
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2014-08-23 16:15:16 +00:00
parent f64f30c974
commit ce470233d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270418

View File

@ -95,6 +95,10 @@ main() {
# Fix broken ports that use kern.osreldate.
OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)
export OSVERSION
REVISION=$(chroot ${CHROOTDIR} make -C /usr/src/release -V REVISION)
BRANCH=$(chroot ${CHROOTDIR} make -C /usr/src/release -V BRANCH)
UNAME_r=${REVISION}-${BRANCH}
export UNAME_r
# Build the 'xdev' target for crochet.
eval chroot ${CHROOTDIR} make -C /usr/src \