diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2023-11-03 08:29:23 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2023-12-04 10:38:33 +0000 |
commit | ee89da102bf020a2289d5b5e618c421098cba1b9 (patch) | |
tree | 217dee104608ae9fa9412ba89bde1677ad41494c | |
parent | 8bc5e4f54b40d2be2900bb1a6c3640b803882ab1 (diff) | |
download | src-ee89da102bf020a2289d5b5e618c421098cba1b9.tar.gz src-ee89da102bf020a2289d5b5e618c421098cba1b9.zip |
pkgbase: force OSVERSION
This is used to the package annotation helping pkg to know about
backward compatibility is set to the version of the packages not
the version of the host building the packages
(cherry picked from commit 188fe88ec50eac7c10e1d8350bf1180f8c16e463)
-rw-r--r-- | Makefile.inc1 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index ccd65be4402f..ba842b7769a6 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -2139,6 +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}" \ -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} \ |