git: 98c47a3f594e - main - lang/gcc48: Remove USES=makeinfo

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 22 Oct 2023 14:45:19 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98c47a3f594e3ccac117cb3bc4ce0800b7ae71ed

commit 98c47a3f594e3ccac117cb3bc4ce0800b7ae71ed
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-22 13:10:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-22 14:45:03 +0000

    lang/gcc48: Remove USES=makeinfo
    
    - Distfile ships with info files pregenerated and no need to regenerate
      these files
    - Remove patches to modify the changes in the texi file which were
      required for the texinfo in the base
---
 lang/gcc48/Makefile                     |  4 +---
 lang/gcc48/files/patch-gcc-doc-gcc.texi | 20 --------------------
 2 files changed, 1 insertion(+), 23 deletions(-)

diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index f9b1b2d36107..f2ba4b4b2304 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -26,7 +26,7 @@ RUN_DEPENDS+=	${LOCALBASE}/bin/as:devel/binutils
 BUILD_DEPENDS+=	runtest:misc/dejagnu
 .endif
 
-USES=		compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2
+USES=		compiler cpe gmake iconv libtool perl5 tar:bzip2
 USE_BINUTILS=	yes
 USE_PERL5=	build
 
@@ -70,7 +70,6 @@ CONFIGURE_ARGS+=--disable-nls \
 		--with-system-zlib \
 		--disable-libgcj \
 		--enable-languages=${LANGUAGES}
-MAKE_ARGS+=	MAKEINFOFLAGS="--no-split"
 USE_LDCONFIG=	${TARGLIB}
 PLIST_SUB+=	GCC_VERSION=${GCC_VERSION} \
 		GNU_HOST=${CONFIGURE_TARGET} \
@@ -97,7 +96,6 @@ post-patch:
 
 pre-configure:
 	cd ${WRKSRC} ; contrib/gcc_update --touch
-	@${RM} ${WRKSRC}/gcc/*/*.info*
 
 .if defined(MAINTAINER_MODE)
 full-regression-test: build
diff --git a/lang/gcc48/files/patch-gcc-doc-gcc.texi b/lang/gcc48/files/patch-gcc-doc-gcc.texi
deleted file mode 100644
index 01b8c980a7eb..000000000000
--- a/lang/gcc48/files/patch-gcc-doc-gcc.texi
+++ /dev/null
@@ -1,20 +0,0 @@
---- gcc/doc/gcc.texi.orig	2015-06-23 07:35:08 UTC
-+++ gcc/doc/gcc.texi
-@@ -85,9 +85,15 @@ Published by:
- @item GNU Press
- @tab Website: www.gnupress.org
- @item a division of the
--@tab General: @tex press@@gnu.org @end tex
-+@tab General:
-+@tex
-+press@@gnu.org
-+@end tex
- @item Free Software Foundation
--@tab Orders:  @tex sales@@gnu.org @end tex
-+@tab Orders:
-+@tex
-+sales@@gnu.org
-+@end tex
- @item 51 Franklin Street, Fifth Floor
- @tab Tel 617-542-5942
- @item Boston, MA 02110-1301 USA