1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- Add the same workaround for ignoring PREFIX/info removal when PREFIX !=

LOCALBASE, as check-stagedir has.

With hat:	portmgr
This commit is contained in:
Bryan Drewery 2014-08-19 14:36:49 +00:00
parent 666fb99d3b
commit 3777dc8252
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365382

View File

@ -108,11 +108,19 @@ while read modtype path extra; do
esac
;;
-)
# Skip removal of PREFIX and PREFIX/info from
# bsd.port.mk for now.
# Skip if it is PREFIX and non-LOCALBASE. See misc/kdehier4
# or mail/qmail for examples
[ "${path}" = "${PREFIX}" -a "${LOCALBASE}" != "${PREFIX}" ] &&
ignore_path=1
# The removal of info may be a bug; it's part of BSD.local.dist.
# See ports/74691
[ "${sub_path}" = "info" -a "${LOCALBASE}" != "${PREFIX}" ] &&
ignore_path=1
[ $ignore_path -eq 0 ] && echo "- ${sub_path}"
;;
M)