svn commit: r461527 - in head: graphics/libbpg multimedia/ccextractor multimedia/ffmpeg multimedia/gstreamer1-plugins-x265 multimedia/handbrake multimedia/vlc multimedia/x265 x11/xpra

Guido Falsi madpilot at FreeBSD.org
Sun Feb 11 22:46:46 UTC 2018


On 02/11/18 22:51, Jan Beich wrote:
> Jan Beich <jbeich at FreeBSD.org> writes:
> 
>> Guido Falsi <madpilot at FreeBSD.org> writes:
>>
>>> +.include <bsd.port.pre.mk>
>>>  
>>> +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100052
>>> +BUILD_DEPENDS+=	${LOCALBASE}/bin/clang50:devel/llvm50
>>> +CPP=		${LOCALBASE}/bin/clang-cpp50
>>> +CC=		${LOCALBASE}/bin/clang50
>>> +CXX=		${LOCALBASE}/bin/clang++50
>>> +.endif
>>
>> Why not USES=compiler:c++14-lang ?
> 
> Another issue is mips*, powerpc* and sparc64 cannot use Clang on FreeBSD 10.*.
> 

I missed this point, I must admit.

I avoided compiler option because the software is not actually using
c++14 or other modern C++ standards. such an option could look confusing.

I'll test your suggestion and update my commit accordingly, though,
since it should behave better on other archs.

-- 
Guido Falsi <madpilot at FreeBSD.org>


More information about the svn-ports-head mailing list