aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2023-11-03 08:29:23 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2023-11-03 08:29:23 +0000
commit188fe88ec50eac7c10e1d8350bf1180f8c16e463 (patch)
tree9616989c7ca34fdb48353ec6a0dac4ed7ba36c29 /Makefile.inc1
parentdf6e7e11c5f660cbd5381819718e3c947325fa2e (diff)
downloadsrc-188fe88ec50eac7c10e1d8350bf1180f8c16e463.tar.gz
src-188fe88ec50eac7c10e1d8350bf1180f8c16e463.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
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc11
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index a49903a30903..c1c0b56efd1b 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2192,6 +2192,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} \