git: 9527960cd0a9 - main - graphics/openimageio-ociov1: drop unneeded dependency on openjpeg15 (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 18 Feb 2022 09:34:56 UTC
The branch main has been updated by fluffy:

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

commit 9527960cd0a99831cbad635aae45d8dcfacbb9f0
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-02-18 08:54:57 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-02-18 08:54:57 +0000

    graphics/openimageio-ociov1: drop unneeded dependency on openjpeg15 (+)
    
    PR:     262016
    Approved by:    maintainer
    Sponsored by:   Netzkommune GmbH
---
 graphics/openimageio-ociov1/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/graphics/openimageio-ociov1/Makefile b/graphics/openimageio-ociov1/Makefile
index 0cfbdee4adf5..bdbc639d8856 100644
--- a/graphics/openimageio-ociov1/Makefile
+++ b/graphics/openimageio-ociov1/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	openimageio
 DISTVERSIONPREFIX=	Release-
 DISTVERSION=	2.2.19.0
+PORTREVISION=	1
 CATEGORIES=	graphics multimedia
 PKGNAMESUFFIX=	-ociov1
 # special port to link oiio libs with ociov1
@@ -59,8 +60,8 @@ GIF_CMAKE_BOOL=		USE_GIF
 GIF_LIB_DEPENDS=	libgif.so:graphics/giflib
 
 OPENCV_CMAKE_BOOL=	USE_OPENCV
-OPENCV_LIB_DEPENDS=	libopencv_core.so:graphics/opencv \
-			libopenjpeg.so:graphics/openjpeg15
+OPENCV_IMPLIES=		OPENJPEG
+OPENCV_LIB_DEPENDS=	libopencv_core.so:graphics/opencv
 
 OPENJPEG_CMAKE_BOOL=	USE_OPENJPEG
 OPENJPEG_LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg