Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2026 17:25:55 +0000
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Hiroo Ono <hiroo.ono+freebsd@gmail.com>
Subject:   git: 76f858036fcb - main - games/angband: Fix build with sphinx 9.0.4
Message-ID:  <6a3eb623.3889c.4fb07881@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=76f858036fcb42879bab34c9b5dd54e97e4e6dbf

commit 76f858036fcb42879bab34c9b5dd54e97e4e6dbf
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2026-06-26 17:23:10 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-06-26 17:23:10 +0000

    games/angband: Fix build with sphinx 9.0.4
    
    Convert one of source file to UTF-8.
    
    PR:             284845
    Co-authored-by: Max Brazhnikov <makc@FreeBSD.org>
---
 games/angband/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/games/angband/Makefile b/games/angband/Makefile
index a30207c8b287..14524f638a5f 100644
--- a/games/angband/Makefile
+++ b/games/angband/Makefile
@@ -10,7 +10,7 @@ WWW=		https://rephial.org/
 
 LICENSE=	GPLv2
 
-USES=		autoreconf gmake ncurses
+USES=		autoreconf gmake iconv:build ncurses
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_path_NCURSES_CONFIG=${TRUE}
 CONFIGURE_ARGS=	--localstatedir=/var
@@ -43,6 +43,9 @@ post-patch:
 		's|.SILENT:||' ${WRKSRC}/mk/buildsys.mk.in
 	@${REINPLACE_CMD} -e \
 		's|-O0||' ${WRKSRC}/src/Makefile
+	cd ${WRKSRC}/docs && \
+		${ICONV_CMD} -f MACCENTRALEUROPE -t UTF-8 version.rst > version-utf-8.rst && \
+		${MV} version-utf-8.rst version.rst
 
 post-build-DOCS-on:
 	# Needs gmake, although we could run sphinx directly


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3eb623.3889c.4fb07881>