summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/seexpr/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/seexpr/Makefile b/graphics/seexpr/Makefile
index d64b9e9c1342..9985da1fdf6d 100644
--- a/graphics/seexpr/Makefile
+++ b/graphics/seexpr/Makefile
@@ -25,12 +25,13 @@ USE_QT= buildtools_build qmake_build core gui opengl widgets
MAKE_JOBS_UNSAFE= yes # https://github.com/wdas/seexpr/issues/40
-# XXX: fix the build errors and convert to OPTIONs
-CMAKE_ARGS= -DENABLE_LLVM_BACKEND:BOOL=FALSE
-
-OPTIONS_DEFINE= PYTHON
+OPTIONS_DEFINE= LLVM PYTHON
OPTIONS_SUB= yes
+LLVM_DESC= Build with LLVM ${LLVM_DEFAULT:C/.$$//} backend
+LLVM_LIB_DEPENDS= libLLVM.so:devel/llvm${LLVM_DEFAULT}
+LLVM_CMAKE_OFF= -DENABLE_LLVM_BACKEND:BOOL=FALSE
+
PYTHON_LIB_DEPENDS= ${PY_BOOST}
PYTHON_USES= pyqt:5 python
PYTHON_USE= PYQT=core_build,sip_build,widgets_build