git: 1bf7d5ccf650 - main - devel/llvm*: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 12:51:28 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1bf7d5ccf65019f3d48cd77ba0f929f0d45f5116

commit 1bf7d5ccf65019f3d48cd77ba0f929f0d45f5116
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 09:35:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 12:51:14 +0000

    devel/llvm*: Sanitize MANPREFIX
    
    Not bumping as there is no change in PKG. This should have been done in
    my previous commit.
    
    Approved by:    portmgr (blanket)
---
 devel/llvm-cheri/Makefile | 4 ++--
 devel/llvm-devel/Makefile | 2 +-
 devel/llvm/Makefile       | 2 +-
 devel/llvm10/Makefile     | 2 +-
 devel/llvm11/Makefile     | 2 +-
 devel/llvm12/Makefile     | 2 +-
 devel/llvm13/Makefile     | 2 +-
 devel/llvm14/Makefile     | 2 +-
 devel/llvm15/Makefile     | 2 +-
 devel/llvm16/Makefile     | 2 +-
 devel/llvm17/Makefile     | 2 +-
 11 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/devel/llvm-cheri/Makefile b/devel/llvm-cheri/Makefile
index b3d45174b187..624a6e2bf9e2 100644
--- a/devel/llvm-cheri/Makefile
+++ b/devel/llvm-cheri/Makefile
@@ -192,7 +192,7 @@ post-install-DOCS-on:
 .endif
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
@@ -200,7 +200,7 @@ post-install-DOCS-on:
 .endif
 #.if ${PORT_OPTIONS:MCLANG}
 #	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 \
-#	    ${STAGEDIR}${MANPREFIX}/man/man1/scan-build${LLVM_SUFFIX}.1
+#	    ${STAGEDIR}${PREFIX}/man/man1/scan-build${LLVM_SUFFIX}.1
 #.endif
 .if !${PORT_OPTIONS:MLLDB}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lldb-tblgen.1
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index 5228dbd1b20e..ad354c1113e9 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -396,7 +396,7 @@ post-install-DOCS-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile
index e6adebec14ab..4c6842c25f53 100644
--- a/devel/llvm/Makefile
+++ b/devel/llvm/Makefile
@@ -86,7 +86,7 @@ do-install:
 .endfor
 .for _man in ${MAN1SRCS}
 	${LN} -s ${_man:R}${LLVM_SUFFIX}.1 \
-	    ${STAGEDIR}${MANPREFIX}/man/man1/${_man}
+	    ${STAGEDIR}${PREFIX}/man/man1/${_man}
 .endfor
 
 .include <bsd.port.mk>
diff --git a/devel/llvm10/Makefile b/devel/llvm10/Makefile
index 877e475c984c..2832253564c5 100644
--- a/devel/llvm10/Makefile
+++ b/devel/llvm10/Makefile
@@ -474,7 +474,7 @@ post-install-DOCS-on:
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR}
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
diff --git a/devel/llvm11/Makefile b/devel/llvm11/Makefile
index ad2e3ed3cba7..90debe37315c 100644
--- a/devel/llvm11/Makefile
+++ b/devel/llvm11/Makefile
@@ -477,7 +477,7 @@ post-install-DOCS-on:
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR}
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
diff --git a/devel/llvm12/Makefile b/devel/llvm12/Makefile
index 82d560daa16c..1930a23dc473 100644
--- a/devel/llvm12/Makefile
+++ b/devel/llvm12/Makefile
@@ -447,7 +447,7 @@ post-install-DOCS-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
diff --git a/devel/llvm13/Makefile b/devel/llvm13/Makefile
index 5bdd28c764d9..955b78d82c73 100644
--- a/devel/llvm13/Makefile
+++ b/devel/llvm13/Makefile
@@ -491,7 +491,7 @@ post-install-DOCS-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile
index c6bf7764f212..ec7749aa3d93 100644
--- a/devel/llvm14/Makefile
+++ b/devel/llvm14/Makefile
@@ -530,7 +530,7 @@ post-install-DOCS-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
diff --git a/devel/llvm15/Makefile b/devel/llvm15/Makefile
index 10e3b9944416..91ef79f08208 100644
--- a/devel/llvm15/Makefile
+++ b/devel/llvm15/Makefile
@@ -625,7 +625,7 @@ post-install-DOCS-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
diff --git a/devel/llvm16/Makefile b/devel/llvm16/Makefile
index 87340392282c..c9ee00d8f6fa 100644
--- a/devel/llvm16/Makefile
+++ b/devel/llvm16/Makefile
@@ -505,7 +505,7 @@ post-install-DOCS-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
diff --git a/devel/llvm17/Makefile b/devel/llvm17/Makefile
index 0437dac8c384..4146803417f6 100644
--- a/devel/llvm17/Makefile
+++ b/devel/llvm17/Makefile
@@ -510,7 +510,7 @@ post-install-DOCS-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc
 .for _man in ${MAN1SRCS}
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
-	    ${STAGEDIR}${MANPREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
+	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1