git: 8e42e5a3a218 - main - devel/gnulib: Simplify build stage

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 28 Mar 2024 11:52:28 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e42e5a3a218aa452695884729dca0dae44a1b6e

commit 8e42e5a3a218aa452695884729dca0dae44a1b6e
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-28 11:48:03 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-28 11:51:07 +0000

    devel/gnulib: Simplify build stage
    
    PR:             277948
    Suggested by:   Tatsuki Makino <tatsuki_makino@hotmail.com>
---
 devel/gnulib/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/devel/gnulib/Makefile b/devel/gnulib/Makefile
index 53470d51b60e..1967108ac2e9 100644
--- a/devel/gnulib/Makefile
+++ b/devel/gnulib/Makefile
@@ -20,6 +20,8 @@ CPE_VENDOR=	gnu
 
 NO_ARCH=	yes
 
+BUILD_WRKSRC=	${WRKSRC}/doc
+ALL_TARGET=	info html
 PLIST_FILES=	bin/check-module bin/gnulib-tool
 INFO=		${PORTNAME}
 PORTDOCS=	gnulib.html
@@ -32,9 +34,6 @@ post-patch:
 		-e 's: makeinfo$$: ${LOCALBASE}/bin/makeinfo:' \
 		${WRKSRC}/doc/Makefile
 
-do-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C doc info html
-
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${PREFIX}/${INFO_PATH}
 .for p in check-module gnulib-tool