git: 934b7cf7bf0c - main - x11-toolkits/fox17: use openjpeg15 includes in Right Way (tm)

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

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

commit 934b7cf7bf0c6cc0c3a2ad01d32ed4ef962f1a90
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-02-18 09:06:37 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-02-18 09:06:37 +0000

    x11-toolkits/fox17: use openjpeg15 includes in Right Way (tm)
    
    Sponsored by:   Netzkommune GmbH
---
 x11-toolkits/fox17/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile
index 02bc90e73177..a2a75851d55d 100644
--- a/x11-toolkits/fox17/Makefile
+++ b/x11-toolkits/fox17/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	fox
 PORTVERSION=	1.7.77
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	http://fox-toolkit.org/ftp/ \
 		ftp://ftp.fox-toolkit.org/pub/
@@ -51,6 +51,7 @@ DEBUG_CXXFLAGS_OFF=	-DNDEBUG
 JPEG_USES=		jpeg
 JPEG_CONFIGURE_ENABLE=	jpeg
 
+OPENJPEG_CFLAGS=	-I${LOCALBASE}/include/openjpeg-1.5
 OPENJPEG_LIB_DEPENDS=	libopenjpeg.so:graphics/openjpeg15
 OPENJPEG_CONFIGURE_ENABLE=	jp2