git: 04761e4a269f - main - print/lilypond: Fix build with NLS option turned off

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 04 Apr 2024 13:30:56 UTC
The branch main has been updated by eduardo:

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

commit 04761e4a269f05cde037eb6364db0f1990b88878
Author:     Martin Neubauer <m.ne@gmx.net>
AuthorDate: 2024-04-04 13:28:55 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-04 13:30:46 +0000

    print/lilypond: Fix build with NLS option turned off
    
    PR:             278154
---
 print/lilypond/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile
index b960847009a3..1d6ebc0fa097 100644
--- a/print/lilypond/Makefile
+++ b/print/lilypond/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	lilypond
 DISTVERSION=	2.24.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	print audio
 MASTER_SITES=	http://lilypond.org/download/source/v${DISTVERSION:R}/
 
@@ -27,8 +27,8 @@ RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejav
 		mftrace:print/mftrace \
 		urw-base35-fonts>0:x11-fonts/urw-base35-fonts
 
-USES=		bison:build compiler:c++11-lib cpe ghostscript gmake gnome \
-		magick:7,build perl5 pkgconfig python
+USES=		bison:build compiler:c++11-lib cpe gettext-tools ghostscript \
+		gmake gnome magick:7,build perl5 pkgconfig python
 USE_CXXSTD=	c++14
 USE_GNOME=	pango
 USE_PERL5=	build
@@ -71,7 +71,7 @@ GUILE3_DESC=	Use guile3
 
 GUILE2_USES=	guile:2.2
 GUILE3_USES=	guile:3.0
-NLS_USES=	gettext
+NLS_USES=	gettext-runtime
 
 post-patch:
 	@${SED} -e 's|%%FONTDIR%%|${WRKDIR}/fontconfig/cache/|'  \