aboutsummaryrefslogtreecommitdiff
path: root/Mk/Scripts
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-04-12 16:02:31 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-04-12 16:02:31 +0000
commit72a9fbf7cb32373cfcf555a74e6f41841cf0f8a1 (patch)
tree0e3718ccdc6d2ea5bed5f82d31c0940eb6aecffb /Mk/Scripts
parent1cb46eafbbfa5c1ba47063e08aff53a58cb5a092 (diff)
downloadports-72a9fbf7cb32373cfcf555a74e6f41841cf0f8a1.tar.gz
ports-72a9fbf7cb32373cfcf555a74e6f41841cf0f8a1.zip
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)
Diffstat (limited to 'Mk/Scripts')
-rw-r--r--Mk/Scripts/qa.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
index c570550dd9f6..935edf72065e 100644
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -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
}