mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue