svn commit: r531443 - head/multimedia/obs-studio

Ed Maste emaste at freebsd.org
Thu Apr 16 01:23:00 UTC 2020


On Sat, 11 Apr 2020 at 13:44, Piotr Kubaj <pkubaj at freebsd.org> wrote:
>
> Author: pkubaj
> Date: Sat Apr 11 17:44:38 2020
> New Revision: 531443
> URL: https://svnweb.freebsd.org/changeset/ports/531443
>
> Log:
>   multimedia/obs-studio: fix build on powerpc64 elfv2
>
>   obs-studio uses SSE unconditionally, but Clang can't doesn't have good enough SSE -> Altivec translation layer, like GCC does:
...
> +
> +.include <bsd.port.options.mk>
> +
> +.if ${ARCH} == powerpc64
> +USES+=         compiler:gcc-c++11-lib
> +.else
> +USES+=         compiler:c++11-lib
> +.endif

I think this would benefit from a comment mentioning why it's using
GCC on powerpc64 as a hint to someone who looks at this in the future,
in case Clang gains support.


More information about the svn-ports-all mailing list