mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
Adjust where UNAME_r is defined for ports builds
In followup to80ab50e1de, export UNAME_r in Makefile.inc1 instead of Makefile.vm. MFC after: 3 days MFC with:80ab50e1deSponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
ee21ee1572
commit
0be274d373
2 changed files with 4 additions and 1 deletions
|
|
@ -40,3 +40,6 @@ BUILDDATE!= date +%Y%m%d
|
|||
.export BUILDDATE
|
||||
.endif
|
||||
|
||||
# Override UNAME_r to allow building ports for a different branch.
|
||||
UNAME_r= ${REVISION}-${BRANCH}
|
||||
.export UNAME_r
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ emulator-portinstall:
|
|||
.if ( ${TARGET_ARCH} != "i386" ) || ( ${MACHINE_ARCH} != "amd64" )
|
||||
.if !exists(/usr/local/bin/qemu-${TARGET_ARCH}-static)
|
||||
.if exists(${PORTSDIR}/emulators/qemu-user-static/Makefile)
|
||||
env - UNAME_r="${REVISION}-${BRANCH}" PATH=$$PATH make -C ${PORTSDIR}/emulators/qemu-user-static BATCH=1 all install clean
|
||||
env - UNAME_r=${UNAME_r} PATH=$$PATH make -C ${PORTSDIR}/emulators/qemu-user-static BATCH=1 all install clean
|
||||
.else
|
||||
.if !exists(/usr/local/sbin/pkg-static)
|
||||
env ASSUME_ALWAYS_YES=yes pkg bootstrap -y
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue