git: 051d69d6f8b5 - main - pkgbase: create package with SRCRELDATE not OSRELDATE as OSVERSION

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 07:43:19 UTC
The branch main has been updated by bapt:

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

commit 051d69d6f8b51dc1d7bba58af99be76185312222
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-11-14 07:41:47 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-11-14 07:43:15 +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
---
 Makefile.inc1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc1 b/Makefile.inc1
index c1dfb84538af..f47b9f66b69e 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2194,7 +2194,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} \