git: 62daaa3d9d43 - 2024Q2 - graphics/lux: fix noto dependency

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 12 Apr 2024 08:39:53 UTC
The branch 2024Q2 has been updated by fuz:

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

commit 62daaa3d9d434882ceba993ef61e175e8dfab758
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-04-04 16:07:16 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-04-12 08:39:16 +0000

    graphics/lux: fix noto dependency
    
    Previous commit was not approved by maintainer.
    Depending on the file ${GUIFONT} was intentional
    as this file is hard-coded in the application.
    
    Instead of removing this sanity check, the correct
    is to adjust the dependency from the now meta port
    to the port actually delivering this file.
    
    Fixes:           2370847ccdf81a5d6305bf6ec4e8f33765e6f75d.
    (cherry picked from commit ee8fe6f4184ab83854c0581b43511d214bfc2730)
---
 graphics/lux/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/graphics/lux/Makefile b/graphics/lux/Makefile
index 11dd39403711..2a3b66c57495 100644
--- a/graphics/lux/Makefile
+++ b/graphics/lux/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	lux
-PORTVERSION=	1.1.8
+DISTVERSION=	1.1.8
 PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://bitbucket.org/kfj/pv/get/
@@ -19,7 +19,7 @@ LIB_DEPENDS=	libhwy.so:devel/highway \
 		libsfml-window.so:devel/sfml \
 		libexiv2.so:graphics/exiv2 \
 		libvigraimpex.so:graphics/vigra
-RUN_DEPENDS=	noto-basic>0:x11-fonts/noto-basic
+RUN_DEPENDS=	${GUIFONT}:x11-fonts/noto-sans-basic
 GUIFONT=	${LOCALBASE}/share/fonts/noto/NotoSans-Regular.ttf
 
 USES=		cmake desktop-file-utils dos2unix pkgconfig tar:bz2