git: 15328c5dfa08 - main - cad/horizon-eda: Add back the workaround for clang crash that was mistakenly removed earlier

Yuri Victorovich yuri at FreeBSD.org
Thu Sep 16 19:26:56 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=15328c5dfa085018b5980eb1e7959b9f50fca41d

commit 15328c5dfa085018b5980eb1e7959b9f50fca41d
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-09-16 19:24:42 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-09-16 19:25:47 +0000

    cad/horizon-eda: Add back the workaround for clang crash that was mistakenly removed earlier
    
    Reported by:    fallout
---
 cad/horizon-eda/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/cad/horizon-eda/Makefile b/cad/horizon-eda/Makefile
index 6d8fae5f75b5..571d745251da 100644
--- a/cad/horizon-eda/Makefile
+++ b/cad/horizon-eda/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	horizon-eda
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.1.0
+PORTREVISION=	1
 CATEGORIES=	cad
 
 MAINTAINER=	yuri at FreeBSD.org
@@ -34,6 +35,12 @@ 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
 


More information about the dev-commits-ports-main mailing list