Skip to content

Commit

Permalink
lang/lfortran: Unbreak this port on FreeBSD 12
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
sunpoet committed Nov 14, 2023
1 parent 0f95ad2 commit 6ce0588
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lang/lfortran/Makefile
Expand Up @@ -9,7 +9,6 @@ WWW= https://lfortran.org/

LICENSE= BSD3CLAUSE

BROKEN_FreeBSD_12= use of undeclared identifier '_Unwind_Backtrace'
BROKEN_i386= sizeof(YYSTYPE) != sizeof(Vec<AST::ast_t*>)

BUILD_DEPENDS= bash:shells/bash \
Expand All @@ -32,6 +31,9 @@ CMAKE_ON= LFORTRAN_BUILD_ALL WITH_DWARFDUMP WITH_FMT WITH_JSON \
WITH_LINKH WITH_LLVM WITH_STACKTRACE WITH_UNWIND
USE_LDCONFIG= yes

CXXFLAGS+= ${CXXFLAGS_${OPSYS}_${OSREL:R}}
CXXFLAGS_FreeBSD_12= -D_GNU_SOURCE

LLVM_VERSION= 15 # 16 is supported too

OPTIONS_DEFINE= EXAMPLES # NB
Expand Down

0 comments on commit 6ce0588

Please sign in to comment.