git: 52bc8764cfa7 - main - editors/emacs: Remove USES=makeinfo

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 02 Nov 2023 15:38:21 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=52bc8764cfa78607cbaee6e60307f95697d87e34

commit 52bc8764cfa78607cbaee6e60307f95697d87e34
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-02 13:59:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-02 15:25:07 +0000

    editors/emacs: Remove USES=makeinfo
    
    The port has USES=makeinfo which helps to build the info files but the
    distfile ships with pre built info files in ${WRKSRC}/info hence
    makeinfo is not a hard requirement for the building of emacs itself. And
    the build time error can easily be avoided with BINARY_ALIAS to
    makeinfo.
    
    As we are utilizing the default info files instead of the generated info
    hence bumping PORTREVISION.
    
    PR:             274570
    Approved by:    emacs (jrm)
---
 editors/emacs/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 242cf336a8db..383754f677f4 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	emacs
 DISTVERSION=	29.1
+PORTREVISION=	1
 PORTEPOCH=	3
 CATEGORIES=	editors
 MASTER_SITES=	GNU
@@ -29,7 +30,7 @@ full_CONFLICTS_INSTALL=		emacs-canna emacs-nox
 nox_PKGNAMESUFFIX=		-nox
 nox_CONFLICTS_INSTALL=		emacs emacs-canna
 
-USES=		cpe gmake localbase:ldflags makeinfo ncurses pkgconfig tar:xz
+USES=		cpe gmake localbase:ldflags ncurses pkgconfig tar:xz
 CPE_VENDOR=	gnu
 
 GNU_CONFIGURE=		yes
@@ -72,6 +73,7 @@ CONFIGURE_ENV=		ac_cv_header_sys_sysinfo_h=no
 
 CONFLICTS_INSTALL=	emacs-devel emacs-devel-nox
 
+BINARY_ALIAS=	makeinfo=true
 SUB_FILES=	sources.el
 SUB_LIST=	EMACS_VER=${DISTVERSION}