git: 89f138370e4c - main - games/{enigma,openspades}: rollback USES=magick for my ports

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 15 Dec 2021 13:08:33 UTC
The branch main has been updated by amdmi3:

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

commit 89f138370e4c0369985d69b2d283194620773929
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-12-15 13:02:44 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-12-15 13:02:44 +0000

    games/{enigma,openspades}: rollback USES=magick for my ports
    
    Roll back pessimization introduced in 45526ec for (my) ports which
    need *any* version of imagemagick: switch to USES=magick makes them
    needlessly requre *specific* version/flavor which cause conflicts.
---
 games/enigma/Makefile     | 3 ++-
 games/openspades/Makefile | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index 9cb448453776..26758c47be45 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -14,12 +14,13 @@ LIB_DEPENDS=	libxerces-c.so.3:textproc/xerces-c3 \
 		libpng.so:graphics/png \
 		libenet.so:net/enet \
 		libcurl.so:ftp/curl
+BUILD_DEPENDS=	convert:graphics/ImageMagick6
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Enigma-Game
 GH_PROJECT=	Enigma
 
-USES=		autoreconf:build gettext gmake iconv localbase magick:6,build pkgconfig sdl
+USES=		autoreconf:build gettext gmake iconv localbase pkgconfig sdl
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl2 image2 mixer2 ttf2
 CONFIGURE_ARGS=	--with-system-enet
diff --git a/games/openspades/Makefile b/games/openspades/Makefile
index 48f79b74fc3f..cd5f8606416e 100644
--- a/games/openspades/Makefile
+++ b/games/openspades/Makefile
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 ONLY_FOR_ARCHS=	amd64 powerpc64 powerpc64le
 ONLY_FOR_ARCHS_REASON=	bundles non-portable AngelScript
 
+BUILD_DEPENDS=	convert:graphics/ImageMagick6 # for building icons
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libopusfile.so:audio/opusfile
 
@@ -22,7 +23,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	yvt
 
 USES=		cmake:insource compiler:c++11-lib desktop-file-utils dos2unix \
-		gl gnome magick:6,build openal sdl xorg
+		gl gnome openal sdl xorg
 CMAKE_ARGS=	-DOPENSPADES_RESOURCES=OFF \
 		-DOPENSPADES_INSTALL_MAN="man/man6" \
 		-DOPENSPADES_INSTALL_BINARY="bin" \