From owner-svn-ports-all@freebsd.org Sun Feb 11 22:46:46 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00FF7F203E2; Sun, 11 Feb 2018 22:46:46 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 90DE76FD39; Sun, 11 Feb 2018 22:46:45 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3zfkDp1n6wzbd7; Sun, 11 Feb 2018 23:36:42 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id Bsl9YKVXY2VB; Sun, 11 Feb 2018 23:36:35 +0100 (CET) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.madpilot.net (Postfix) with ESMTPSA; Sun, 11 Feb 2018 23:36:35 +0100 (CET) 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 To: Jan Beich Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org References: <201802112019.w1BKJCfk026979@repo.freebsd.org> <6073-2oa2-wny@FreeBSD.org> From: Guido Falsi Message-ID: Date: Sun, 11 Feb 2018 23:36:35 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 22:46:46 -0000 On 02/11/18 22:51, Jan Beich wrote: > Jan Beich writes: > >> Guido Falsi writes: >> >>> +.include >>> >>> +.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