print/lilypond: Fix build with NLS option turned off

PR:		278154
This commit is contained in:
Martin Neubauer 2024-04-04 14:28:55 +01:00 committed by Nuno Teixeira
parent 589ca2f8ef
commit 04761e4a26

View file

@ -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/|' \