aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2024-01-10 17:09:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2024-01-11 08:02:11 +0000
commit5c475f0e7b403f14ea9d8438b0b3e261c5173800 (patch)
tree8911e55808733c0a75685e48e22e8c4931ae4cea
parentf623f66ecbdca27230b5a72cfece5dabaeb7a4bd (diff)
MAN?PREFIX: undefine those variables
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
-rw-r--r--CHANGES6
-rw-r--r--Mk/bsd.port.mk9
2 files changed, 6 insertions, 9 deletions
diff --git a/CHANGES b/CHANGES
index 2b959a75614e..710d36ae6446 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 4b03eb491322..097f64d4b6ae 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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.
#
@@ -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)