The branch main has been updated by stevek:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=112783ebbc313f0df73bbec8520a94aba4a4f33d

commit 112783ebbc313f0df73bbec8520a94aba4a4f33d
Author:     Stephen J. Kiernan <ste...@freebsd.org>
AuthorDate: 2024-04-03 21:22:01 +0000
Commit:     Stephen J. Kiernan <ste...@freebsd.org>
CommitDate: 2024-04-03 23:09:43 +0000

    userboot: allow for overriding the version file location
    
    Use ?= when assigning VERSION_FILE
    
    Reviewed by:    imp
    Obtained from:  Juniper Networks, Inc.
    Differential Revision:  https://reviews.freebsd.org/D44624
---
 stand/userboot/userboot/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/userboot/userboot/Makefile b/stand/userboot/userboot/Makefile
index 15ac8701e4d4..4674672bbec5 100644
--- a/stand/userboot/userboot/Makefile
+++ b/stand/userboot/userboot/Makefile
@@ -44,7 +44,7 @@ CFLAGS.main.c+=       
-I${SYSDIR}/contrib/openzfs/include/os/freebsd/zfs
 CWARNFLAGS.main.c += -Wno-implicit-function-declaration
 
 NEWVERSWHAT=   "User boot ${LOADER_INTERP}" ${MACHINE_CPUARCH}
-VERSION_FILE=  ${.CURDIR}/../userboot/version
+VERSION_FILE?= ${.CURDIR}/../userboot/version
 
 .if ${LOADER_INTERP} == ${LOADER_DEFAULT_INTERP}
 LINKS+=                ${BINDIR}/${SHLIB_NAME} ${BINDIR}/userboot.so

Reply via email to