git: ff38a8c780d0 - stable/13 - pkgbase: create package with SRCRELDATE not OSRELDATE as OSVERSION

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Mon, 04 Dec 2023 10:39:37 UTC
The branch stable/13 has been updated by bapt:

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

commit ff38a8c780d0fb16d1973f80211b268c5e2d2751
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-11-14 07:41:47 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-12-04 10:38:33 +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 ba842b7769a6..423c5924d39c 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2139,7 +2139,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} \