From owner-svn-ports-all@freebsd.org Tue Mar 31 05:40:50 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9229E2785BF; Tue, 31 Mar 2020 05:40:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48ryq53g3Dz4BFQ; Tue, 31 Mar 2020 05:40:48 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 987BB3012; Tue, 31 Mar 2020 05:02:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02V5232M097342; Tue, 31 Mar 2020 05:02:03 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02V52343097326; Tue, 31 Mar 2020 05:02:03 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202003310502.02V52343097326@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 31 Mar 2020 05:02:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529947 - head/net-p2p/libtorrent-rasterbar X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/net-p2p/libtorrent-rasterbar X-SVN-Commit-Revision: 529947 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 31 Mar 2020 05:40:50 -0000 Author: yuri Date: Tue Mar 31 05:02:02 2020 New Revision: 529947 URL: https://svnweb.freebsd.org/changeset/ports/529947 Log: net-p2p/libtorrent-rasterbar: Force clang-9 because clang-10 fails PR: 244830 Reported by: fallout Modified: head/net-p2p/libtorrent-rasterbar/Makefile Modified: head/net-p2p/libtorrent-rasterbar/Makefile ============================================================================== --- head/net-p2p/libtorrent-rasterbar/Makefile Tue Mar 31 03:38:40 2020 (r529946) +++ head/net-p2p/libtorrent-rasterbar/Makefile Tue Mar 31 05:02:02 2020 (r529947) @@ -4,6 +4,7 @@ PORTNAME= libtorrent-rasterbar DISTVERSIONPREFIX= libtorrent- DISTVERSION= 1_2_5 +PORTREVISION= 1 CATEGORIES= net-p2p MAINTAINER= yuri@FreeBSD.org @@ -16,7 +17,7 @@ LIB_DEPENDS= libboost_chrono.so:devel/boost-libs \ libboost_random.so:devel/boost-libs \ libboost_system.so:devel/boost-libs -USES= cmake compiler:c++14-lang iconv:wchar_t libtool pathfix pkgconfig python:2.7,test shebangfix ssl +USES= cmake iconv:wchar_t libtool pathfix pkgconfig python:2.7,test shebangfix ssl # compiler:c++14-lang LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} SHEBANG_FILES= test/socks.py test/web_server.py USE_GITHUB= yes @@ -38,6 +39,13 @@ LOGGING_DESC= Enable logging to disk EXAMPLES_CMAKE_BOOL= build_examples LOGGING_CMAKE_BOOL= logging + +# workaroud for the clang-10 compiler failure: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244830 +LLVM_VER= 90 +BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} +CPP= clang-cpp${LLVM_VER} +CC= clang${LLVM_VER} +CXX= clang++${LLVM_VER} post-patch: @${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \