diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-14 16:53:49 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-14 17:16:49 +0000 |
commit | 6ce0588e3a081446640995946ab14bcbffa27ef6 (patch) | |
tree | 6168882c49aef0d11b7d6f7ad0b1ea3f98f56e24 | |
parent | 0f95ad22bee8b60a1c9b369f7d52239a1617d521 (diff) | |
download | ports-6ce0588e3a081446640995946ab14bcbffa27ef6.tar.gz ports-6ce0588e3a081446640995946ab14bcbffa27ef6.zip |
lang/lfortran: Unbreak this port on FreeBSD 12
Approved by: portmgr (blanket)
-rw-r--r-- | lang/lfortran/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/lfortran/Makefile b/lang/lfortran/Makefile index 55af5fce060e..8c74edbe3189 100644 --- a/lang/lfortran/Makefile +++ b/lang/lfortran/Makefile @@ -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 \ @@ -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 |