mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
pass UNAME_r to fix building 14.x ports on 13.x
MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
bdde49b7c7
commit
80ab50e1de
|
@ -54,7 +54,7 @@ emulator-portinstall:
|
||||||
.if ( ${TARGET_ARCH} != "i386" ) || ( ${MACHINE_ARCH} != "amd64" )
|
.if ( ${TARGET_ARCH} != "i386" ) || ( ${MACHINE_ARCH} != "amd64" )
|
||||||
.if !exists(/usr/local/bin/qemu-${TARGET_ARCH}-static)
|
.if !exists(/usr/local/bin/qemu-${TARGET_ARCH}-static)
|
||||||
.if exists(${PORTSDIR}/emulators/qemu-user-static/Makefile)
|
.if exists(${PORTSDIR}/emulators/qemu-user-static/Makefile)
|
||||||
env - PATH=$$PATH make -C ${PORTSDIR}/emulators/qemu-user-static BATCH=1 all install clean
|
env - UNAME_r="${REVISION}-${BRANCH}" PATH=$$PATH make -C ${PORTSDIR}/emulators/qemu-user-static BATCH=1 all install clean
|
||||||
.else
|
.else
|
||||||
.if !exists(/usr/local/sbin/pkg-static)
|
.if !exists(/usr/local/sbin/pkg-static)
|
||||||
env ASSUME_ALWAYS_YES=yes pkg bootstrap -y
|
env ASSUME_ALWAYS_YES=yes pkg bootstrap -y
|
||||||
|
|
Loading…
Reference in a new issue