aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@freebsdfoundation.org>2026-01-20 14:57:11 +0000
committerEd Maste <emaste@FreeBSD.org>2026-04-13 20:03:22 +0000
commite11eba76cfbd6b439ad40faeb8ffccf4241e7034 (patch)
tree2963a5cb9c2cc36bcd08f5fc92f07cdd64045353
parentafe57c12e97d5c8773d829c2914f35462a7cdd0c (diff)
pkgbase: only provide shlibs from /lib,/usr/lib,/usr/lib32
Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54793
-rw-r--r--Makefile.inc12
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 1edab54eeea0..681ebb44fc52 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2285,6 +2285,8 @@ create-world-package-${pkgname}: .PHONY
/^version/ { print $$2; next } \
' ${WSTAGEDIR}/${pkgname}.ucl && \
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
+ -o SHLIB_PROVIDE_PATHS_NATIVE=/lib,/usr/lib \
+ ${_ALL_LIBCOMPATS:range:@i@-o SHLIB_PROVIDE_PATHS_COMPAT_${_ALL_LIBCOMPATS:[$i]}=/usr/lib${_ALL_libcompats:[$i]}@} \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \
-M ${WSTAGEDIR}/${pkgname}.ucl \