Skip to content

Commit

Permalink
MAN?PREFIX: undefine those variables
Browse files Browse the repository at this point in the history
MAN?PREFIX where confusing (people kept messing around with them)
did not bring any real value or functionnality.

Reviewed by:		portmgr (mat)
Approved by:		portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D43392
  • Loading branch information
bapt committed Jan 11, 2024
1 parent f623f66 commit 5c475f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGES
Expand Up @@ -10,6 +10,12 @@ in the release notes and/or placed into UPDATING.

All ports committers are allowed to commit to this file.

20230111:
AUTHOR: bapt@FreeBSD.org

MAN[1-8LN]PREFIX variable has been removed from the framework, use PREFIX
directly.

20230929:
AUTHOR: sunpoet@FreeBSD.org

Expand Down
9 changes: 0 additions & 9 deletions Mk/bsd.port.mk
Expand Up @@ -503,10 +503,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
#
# MANPREFIX - The directory prefix for manual pages.
# Default: ${PREFIX}
# MAN<sect>PREFIX
# - If manual pages of some sections install in different
# locations than others, use these.
# Default: ${MANPREFIX}
#
# Set the following to specify all .info files your port installs.
#
Expand Down Expand Up @@ -2753,11 +2749,6 @@ MANDIRS+= ${PREFIX}/share/man
. endif

MANDIRS+= ${MANPREFIX}/man
. for sect in 1 2 3 4 5 6 7 8 9
MAN${sect}PREFIX?= ${MANPREFIX}
. endfor
MANLPREFIX?= ${MANPREFIX}
MANNPREFIX?= ${MANPREFIX}
INFO_PATH?= share/info

. if defined(INFO)
Expand Down

0 comments on commit 5c475f0

Please sign in to comment.