Mk/Scripts: Fix qa for manprefix

As man pages have been moved PREFIX/share/man adjust the qa check.

Reported by:	eduardo
Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman
2024-04-12 18:02:31 +02:00
parent 1cb46eafbb
commit 72a9fbf7cb
+2 -5
View File
@@ -1035,12 +1035,9 @@ reinplace()
}
prefixman() {
local manlist
manlist=$(find ${STAGEDIR}${PREFIX}/man -type f)
if [ -n "${manlist}" ]; then
if [ -d "${STAGEDIR}${PREFIX}/man" ]; then
warn "Installing man files in ${PREFIX}/man is no longer supported. Consider installing these files in ${PREFIX}/share/man instead."
ls -liTd ${manlist}
ls -liTd ${STAGEDIR}${PREFIX}/man
fi
return 0
}