git: d3ddc6b5eeb6 - main - devel/qtcreator: Silence locale warnings

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 30 Jul 2023 20:15:56 UTC
The branch main has been updated by jhale:

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

commit d3ddc6b5eeb665a49b5fd99c672c9b36148eb79e
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-07-30 20:12:19 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-07-30 20:15:30 +0000

    devel/qtcreator: Silence locale warnings
    
    Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
    Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
    If this causes problems, reconfigure your locale. See the locale(1) manual
    for more information.
---
 devel/qtcreator/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile
index d0eca9b82252..78feceeec7f5 100644
--- a/devel/qtcreator/Makefile
+++ b/devel/qtcreator/Makefile
@@ -25,6 +25,7 @@ USES=		cmake compiler:c++17-lang desktop-file-utils gl llvm:build,run,min=15 \
 		pkgconfig python qt:6 shebangfix tar:xz
 USE_GL=		gl
 USE_LDCONFIG=	${LOCALBASE}/lib/${PORTNAME}
+USE_LOCALE=	C.UTF-8
 USE_QT=		5compat base declarative positioning quick3d quicktimeline \
 		serialport shadertools sqldriver-sqlite svg tools translations webchannel