Date: Sun, 11 Feb 2018 23:36:35 +0100 From: Guido Falsi <madpilot@FreeBSD.org> To: Jan Beich <jbeich@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r461527 - in head: graphics/libbpg multimedia/ccextractor multimedia/ffmpeg multimedia/gstreamer1-plugins-x265 multimedia/handbrake multimedia/vlc multimedia/x265 x11/xpra Message-ID: <f331f478-b4fd-f237-baee-28d67998b42d@FreeBSD.org> In-Reply-To: <vaf3-19h4-wny@FreeBSD.org> References: <201802112019.w1BKJCfk026979@repo.freebsd.org> <6073-2oa2-wny@FreeBSD.org> <vaf3-19h4-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/11/18 22:51, Jan Beich wrote: > Jan Beich <jbeich@FreeBSD.org> writes: > >> Guido Falsi <madpilot@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@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f331f478-b4fd-f237-baee-28d67998b42d>