git: a3b809c0c815 - stable/14 - pkgbase: create package with SRCRELDATE not OSRELDATE as OSVERSION

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Sat, 02 Dec 2023 09:45:35 UTC
The branch stable/14 has been updated by manu:

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

commit a3b809c0c81590b05a145db99e98426418a2420b
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-11-14 07:41:47 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-12-02 09:45:01 +0000

    pkgbase: create package with SRCRELDATE not OSRELDATE as OSVERSION
    
    In 188fe88ec50eac7c10e1d8350bf1180f8c16e463 OSVERSION has been set
    to OSRELDATE which is the RELDATE of the building OS while we wanted
    to use SRCRELDATE which is the RELDATE of the target system
    
    (cherry picked from commit 051d69d6f8b51dc1d7bba58af99be76185312222)
---
 Makefile.inc1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc1 b/Makefile.inc1
index 67fe06aa1135..b73b464be2a9 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2193,7 +2193,7 @@ sign-packages:	_pkgbootstrap .PHONY
 	@[ -L "${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/latest" ] && \
 		unlink ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/latest ; \
 	${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname repo \
-		-o OSVERSION="${OSRELDATE}" \
+		-o OSVERSION="${SRCRELDATE}" \
 		-m ${WSTAGEDIR}/meta \
 		-o ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/${PKG_VERSION} \
 		${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/${PKG_VERSION} \