git: cea75571e899 - main - games/chroma: fux build without SDL

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Thu, 14 Apr 2022 20:24:37 UTC
The branch main has been updated by amdmi3:

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

commit cea75571e89952d50f57dcb66558368601bf5a26
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-14 18:13:54 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-14 20:23:37 +0000

    games/chroma: fux build without SDL
    
    Don't use USES=sdl without USE_SDL.
    
    Reported by:    reprise
---
 games/chroma/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games/chroma/Makefile b/games/chroma/Makefile
index bdfde3db6c88..f7908eec8eb7 100644
--- a/games/chroma/Makefile
+++ b/games/chroma/Makefile
@@ -10,7 +10,7 @@ COMMENT=	Abstract puzzle game
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		gettext localbase sdl tar:bzip2
+USES=		gettext localbase tar:bzip2
 GNU_CONFIGURE=	yes
 
 CONFLICTS_INSTALL=	chroma-syntax-highlighter
@@ -32,7 +32,7 @@ CURSES_CONFIGURE_ENABLE=curses
 CURSES_PLIST_FILES=	bin/${PORTNAME}-curses
 SDL_CONFIGURE_ENABLE=	sdl
 SDL_LIB_DEPENDS=	libfreetype.so:print/freetype2
-SDL_USES=		pkgconfig
+SDL_USES=		pkgconfig sdl
 SDL_USE=		SDL=sdl,image
 SDL_PLIST_FILES=	bin/${PORTNAME}