Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2021 07:50:26 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565386 - head/cad/horizon-eda
Message-ID:  <202102160750.11G7oQnl030002@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Feb 16 07:50:26 2021
New Revision: 565386
URL: https://svnweb.freebsd.org/changeset/ports/565386

Log:
  cad/horizon-eda: Fix build with clang-11
  
  Reported by:	fallout

Modified:
  head/cad/horizon-eda/Makefile

Modified: head/cad/horizon-eda/Makefile
==============================================================================
--- head/cad/horizon-eda/Makefile	Tue Feb 16 07:26:34 2021	(r565385)
+++ head/cad/horizon-eda/Makefile	Tue Feb 16 07:50:26 2021	(r565386)
@@ -23,7 +23,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libzip.so:archivers/libzip \
 		libzmq.so:net/libzmq4
 
-USES=		compiler:c++17-lang gmake gnome localbase pkgconfig python:build sqlite
+USES=		gmake gnome localbase pkgconfig python:build sqlite # compiler:c++17-lang
 USE_GITHUB=	yes
 GH_PROJECT=	horizon
 USE_GNOME=	atkmm gdkpixbuf2 gtkmm30 librsvg2
@@ -33,6 +33,12 @@ MAKE_ARGS=	DEBUGFLAGS= OPTIMIZE=
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
 INSTALLS_ICONS=	yes
+
+LLVM_VER=	10 # workaround for bug#253551
+BUILD_DEPENDS+=	clang${LLVM_VER}:devel/llvm${LLVM_VER}
+CPP=		clang-cpp${LLVM_VER}
+CC=		clang${LLVM_VER}
+CXX=		clang++${LLVM_VER}
 
 post-install: # https://github.com/horizon-eda/horizon/issues/558
 	cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} horizon-eda



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102160750.11G7oQnl030002>