Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 00:13:07 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: e2a0df34ad25 - 2026Q2 - multimedia/libopenshot: fix build on non-OpenMP targets
Message-ID:  <69eeaa13.1d85f.367e9545@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2026Q2 has been updated by fuz:

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

commit e2a0df34ad25e1fc33dba73aa5597e31f568009a
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-04-22 09:13:08 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-04-27 00:11:58 +0000

    multimedia/libopenshot: fix build on non-OpenMP targets
    
    gcc-c++17-lib is not a valid argument to USES=compiler.  Use USE_GCC=yes
    instead.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q2
    
    (cherry picked from commit 5a70190401dfb4aa5bf0d5752c1e4079f1c45865)
---
 multimedia/libopenshot/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/multimedia/libopenshot/Makefile b/multimedia/libopenshot/Makefile
index 73d4af9ed1f2..5d6d31068d7c 100644
--- a/multimedia/libopenshot/Makefile
+++ b/multimedia/libopenshot/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg \
 		libopenshot-audio.so:audio/libopenshot-audio \
 		libzmq.so:net/libzmq4
 
-USES=		cmake pkgconfig python qt:5
+USES=		cmake compiler:c++17-lang pkgconfig python qt:5
 USE_GITHUB=	yes
 GH_ACCOUNT=	OpenShot
 USE_LDCONFIG=	yes
@@ -67,9 +67,7 @@ RUBY_CMAKE_BOOL=	ENABLE_RUBY
 RUBY_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Ruby
 
 .if !exists(/usr/include/omp.h)
-USES+=		compiler:gcc-c++17-lib
-.else
-USES+=		compiler:c++17-lang
+USE_GCC=		yes
 .endif
 
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eeaa13.1d85f.367e9545>