multimedia/obs-studio: fix build on powerpc64*

Invalid argument "gcc-c++17-lang", valid arguments are: c++11-lib c++11-lang c++14-lang c++17-lang c11 features openmp env nestedfct c++0x gcc-c++11-lib

Also, this port builds fine with clang now.
This commit is contained in:
Piotr Kubaj 2021-07-06 15:47:24 +00:00
parent 60953b5052
commit 47be6a9af2

View File

@ -41,7 +41,8 @@ LIB_DEPENDS_powerpc= libluajit-5.1.so:lang/luajit
LIB_DEPENDS_powerpc64= libluajit-5.1.so:lang/luajit-openresty
LIB_DEPENDS_powerpc64le= libluajit-5.1.so:lang/luajit-openresty
USES= cmake gl gnome lua pkgconfig python:3.4+ qt:5 xorg
USES= cmake compiler:c++17-lang gl gnome lua pkgconfig python:3.4+ \
qt:5 xorg
USE_QT= core gui svg widgets x11extras xml buildtools_build imageformats_run qmake_build
USE_GNOME= glib20
USE_GL= gl
@ -88,15 +89,6 @@ SNDIO_CMAKE_OFF= -DDISABLE_SNDIO=TRUE
VST_DESC= Build VST submodule
VST_CMAKE_BOOL= BUILD_VST
.include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc64*}
CFLAGS+= -Wno-unused-label
USES+= compiler:gcc-c++17-lang
.else
USES+= compiler:c++17-lang
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} != amd64 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpc64