mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
cad/horizon-eda: Fix build failures
clang-13 crashes on this port. Bring back the rule that it builds with clang-12. Reported by: fallout
This commit is contained in:
parent
b0e9f854a8
commit
19ba7830ef
1 changed files with 7 additions and 1 deletions
|
@ -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 libarchive localbase pkgconfig python:build sqlite
|
||||
USES= gmake gnome libarchive localbase pkgconfig python:build sqlite # compiler:c++17-lang
|
||||
USE_GNOME= atkmm gdkpixbuf2 gtkmm30 librsvg2
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
@ -33,6 +33,12 @@ MAKE_ARGS= DEBUGFLAGS= OPTIMIZE=
|
|||
|
||||
BINARY_ALIAS= python3=${PYTHON_CMD}
|
||||
|
||||
LLVM_VER= 12 # workaround for bug#263870
|
||||
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 horizon-imp
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue