1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

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
This commit is contained in:
Robert Clausecker
2026-04-22 11:13:08 +02:00
parent 6068e3e29e
commit 5a70190401
+2 -4
View File
@@ -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>