git: 39e7d09ef857 - main - devel/binutils: Fix as, gprof, ld man pages

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 16 Aug 2022 16:04:31 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39e7d09ef857d1046d82278bb04b92f7804614ed

commit 39e7d09ef857d1046d82278bb04b92f7804614ed
Author:     Ting-Wei Lan <lantw44@gmail.com>
AuthorDate: 2022-08-15 20:38:30 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-08-16 16:00:48 +0000

    devel/binutils: Fix as, gprof, ld man pages
    
    Fix several man pages by deleting them and forcing the software to regenerate
    them.
    
    PR:     265816
    Reported by:    lantw44@gmail.com
    Approved by:    jflopezfernandez@gmail.com (maintainer, implicit timeout)
---
 devel/binutils/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index eef1d1bf038d..683ee9c8b9bf 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	binutils
 PORTVERSION=	2.37
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH?=	1
 CATEGORIES?=	devel
 MASTER_SITES=	SOURCEWARE/binutils/releases
@@ -130,6 +130,9 @@ post-patch:
 	${REINPLACE_CMD} -e "s/-ldl//g" ${WRKSRC}/gold/testsuite/Makefile.in
 # Force the generation of man pages
 	${RM} ${WRKSRC}/binutils/doc/*.1
+	${RM} ${WRKSRC}/gas/doc/*.1
+	${RM} ${WRKSRC}/gprof/*.1
+	${RM} ${WRKSRC}/ld/*.1
 
 post-install:
 .if ${FLAVOR} == native