multimedia/obs-qtwebkit: use clang on powerpc64

This commit is contained in:
Piotr Kubaj 2022-04-21 17:11:25 +00:00
parent ee7d9b35d5
commit 830edcffe8

View File

@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libobs.so:multimedia/obs-studio \
libinotify.so:devel/libinotify
USES= gmake pkgconfig qt:5
USES= compiler:c++11-lang gmake pkgconfig qt:5
USE_QT= core gui network webkit widgets
USE_GITHUB= yes
@ -21,15 +21,6 @@ GH_TAGNAME= c01aa76
MAKEFILE= GNUmakefile
MAKE_ARGS= OBS_INCLUDE=${LOCALBASE}/include OBS_LIB=${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64
CFLAGS+= -DNO_WARN_X86_INTRINSICS -maltivec -mvsx
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++11-lang
.endif
post-patch:
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/GNUmakefile