Page MenuHomeFreeBSD
Paste P503

Allow any lua with devel/llvm12
ActivePublic

Authored by dim on Jun 6 2021, 11:10 AM.
Tags
None
Referenced Files
F23223081: Allow any lua with devel/llvm12
Jun 6 2021, 11:10 AM
Subscribers
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

Event Timeline

dim created this object in space S1 Global.