git: 7e6469d2080e - main - graphics/vips: Convert to USES=magick

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 15:54:08 UTC
The branch main has been updated by sunpoet:

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

commit 7e6469d2080e4783a732fede393b43244360b372
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:17:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:47:43 +0000

    graphics/vips: Convert to USES=magick
    
    - Bump PORTREVISION for dependency change
    
    PR:             269272
    Reported by:    <sirdice@gmail.com>
---
 graphics/vips/Makefile | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/graphics/vips/Makefile b/graphics/vips/Makefile
index f443464b9b40..856493b54109 100644
--- a/graphics/vips/Makefile
+++ b/graphics/vips/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vips
 PORTVERSION=	8.13.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/
 
@@ -58,6 +58,7 @@ GSF_USE=		GNOME=libgsf
 HEIF_CONFIGURE_WITH=	heif
 HEIF_LIB_DEPENDS=	libheif.so:graphics/libheif
 IMAGEMAGICK_CONFIGURE_ON=	--with-magickpackage=MagickCore
+IMAGEMAGICK_USES=	magick
 JPEG_CONFIGURE_WITH=	jpeg
 JPEG_LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg
 JPEG_USES=		jpeg
@@ -90,14 +91,6 @@ X11_CONFIGURE_WITH=	x
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MIMAGEMAGICK}
-.if ${PORT_OPTIONS:MX11}
-USES+=		magick:7
-.else
-USES+=		magick:7,nox11
-.endif
-.endif
-
 .if !${PORT_OPTIONS:MGRAPHMAGICK} && !${PORT_OPTIONS:MIMAGEMAGICK}
 CONFIGURE_ARGS+=--without-magick
 .endif