Page MenuHomeFreeBSD

Allow any lua with devel/llvm12

Authored By
dim
Jun 6 2021, 11:10 AM
Size
878 B
Referenced Files
None
Subscribers
None

Allow any lua with devel/llvm12

Any reason llvm12 is hardcoded to use lua 5.3? I tried the following which works fine for my setup with `DEFAULT_VERSIONS+=lua=5.4` in make.conf
commit a8ba2549798325e7d76afa22e04b7c9ba8ea024a
Author: Dimitry Andric <dim@FreeBSD.org>
Date: Mon May 24 14:35:33 2021 +0200
devel/llvm12: use any lua for lldb, not lua53 specifically
diff --git a/devel/llvm12/Makefile b/devel/llvm12/Makefile
index 373735bbff6a..431017580806 100644
--- a/devel/llvm12/Makefile
+++ b/devel/llvm12/Makefile
@@ -150,7 +150,7 @@ LLDB_CMAKE_ON= -DLUA_INCLUDE_DIR=${LOCALBASE}/include/lua${LUA_VER_STR} \
-DPANEL_LIBRARIES=/usr/lib/libpanel.so
LLDB_DESC= Install lldb, the LLVM debugger
LLDB_IMPLIES= CLANG
-LLDB_USES= lua:53 libedit
+LLDB_USES= lua libedit
LLDB_VARS= _USES_PYTHON=python:3.6+
OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library
OPENMP_PORTDOCS= openmp

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3789803
Default Alt Text
Allow any lua with devel/llvm12 (878 B)

Event Timeline