git: 5674b7b9f22c - main - devel/flang-clang: fix pkg-plist use share/man

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Mon, 16 May 2022 06:57:30 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5674b7b9f22cdd798ab99a48e03450c9f6710530

commit 5674b7b9f22cdd798ab99a48e03450c9f6710530
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-04-14 18:13:35 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-05-16 06:49:45 +0000

    devel/flang-clang: fix pkg-plist use share/man
    
    Approved by:    portmgr (blanket)
---
 devel/flang-clang/Makefile  | 2 +-
 devel/flang-clang/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/flang-clang/Makefile b/devel/flang-clang/Makefile
index 01cd5778a93a..1a54b1864b32 100644
--- a/devel/flang-clang/Makefile
+++ b/devel/flang-clang/Makefile
@@ -48,7 +48,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/lib/Driver/ToolChains/FreeBSD.cpp
 
 post-install:
-	@${GZIP_CMD} ${STAGEDIR}/${PREFIX}/flang/man/man1/scan-build.1
+	@${GZIP_CMD} ${STAGEDIR}/${PREFIX}/flang/share/man/man1/scan-build.1
 	${RLN} ${STAGEDIR}${PREFIX}/flang/bin/flang ${STAGEDIR}${PREFIX}/bin/flang
 
 .include <bsd.port.mk>
diff --git a/devel/flang-clang/pkg-plist b/devel/flang-clang/pkg-plist
index 18b5e9e7d8a1..e22725a115d8 100644
--- a/devel/flang-clang/pkg-plist
+++ b/devel/flang-clang/pkg-plist
@@ -716,7 +716,7 @@ flang/lib/libclangToolingInclusions.a
 flang/lib/libclangToolingRefactor.a
 flang/libexec/c++-analyzer
 flang/libexec/ccc-analyzer
-flang/man/man1/scan-build.1.gz
+flang/share/man/man1/scan-build.1.gz
 flang/share/clang/bash-autocomplete.sh
 flang/share/clang/clang-format-bbedit.applescript
 flang/share/clang/clang-format-diff.py