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:
parent
f64f30c974
commit
ce470233d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270418
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user