git: cd27f4b3cc83 - main - multimedia/kdenlive: fix build when multimedia/mlt6 is installed

Tobias C. Berner tcberner at FreeBSD.org
Fri Sep 3 12:52:44 UTC 2021


The branch main has been updated by tcberner:

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

commit cd27f4b3cc83bf30ab4ecbf157aa8a69880196ba
Author:     Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-09-03 10:48:26 +0000
Commit:     Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-09-03 12:52:05 +0000

    multimedia/kdenlive: fix build when multimedia/mlt6 is installed
    
    The build of kdenlive could wrongly pick up the unprefixed headers of
    multimedia/mlt6 in ${LOCALBASE}/include due to that path being added
    the CFLAGS -- so mlt++/Foo would get you the mlt6 header:
    
       /usr/local/include/mlt++/MltGeometry.h:34:31: [...]
    
    This patch appends ${LOCALBASE}/include at the end, so the prefixed
    mlt7 headers should get picked up first.
    
    Reported by:    VVD <vvd at unislabs.com>
---
 multimedia/kdenlive/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multimedia/kdenlive/Makefile b/multimedia/kdenlive/Makefile
index f8844d68ea92..4b2deb1beef0 100644
--- a/multimedia/kdenlive/Makefile
+++ b/multimedia/kdenlive/Makefile
@@ -29,7 +29,7 @@ USE_QT=		concurrent core dbus declarative gui multimedia network \
 		buildtools_build qmake_build \
 		quickcontrols_run script svg webkit widgets
 USE_XORG=	x11
-CFLAGS+=	-I${LOCALBASE}/include # linux/input.h
+CFLAGS+=	-isystem${LOCALBASE}/include # linux/input.h
 CMAKE_ARGS=	-DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}"
 
 # Keep in sync with multimedia/mlt, possibly.


More information about the dev-commits-ports-main mailing list