Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2026 01:51:23 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 77e1b4121244 - main - math/symengine: Fix configure
Message-ID:  <69e0409b.474f9.3fb88e40@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=77e1b4121244d78162e47cf3a559f36f35dfb273

commit 77e1b4121244d78162e47cf3a559f36f35dfb273
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-16 01:50:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-16 01:50:33 +0000

    math/symengine: Fix configure
    
    LLVM wasn't found.
    
    Reported by:    fallout
---
 math/symengine/Makefile                   |  5 ++---
 math/symengine/files/patch-CMakeLists.txt | 13 -------------
 2 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/math/symengine/Makefile b/math/symengine/Makefile
index e648f73daa71..bfb9ffbc6c5d 100644
--- a/math/symengine/Makefile
+++ b/math/symengine/Makefile
@@ -42,9 +42,8 @@ ECM_LIB_DEPENDS=	libecm.so:math/gmp-ecm
 
 LLVM_DESC=		Build with LLVM
 LLVM_CMAKE_BOOL=	WITH_LLVM
-LLVM_CMAKE_ON=		-DLLVM_INCLUDE_DIRS:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/include \
-			-DFREEBSD_LLVM_VERSION=${LLVM_VERSION}
-LLVM_USES=		llvm:lib
+LLVM_CMAKE_ON=		-DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm
+LLVM_USES=		llvm:${LLVM_VERSION},lib
 
 MPC_DESC=		Build with MPC
 MPC_CMAKE_BOOL=		WITH_MPC
diff --git a/math/symengine/files/patch-CMakeLists.txt b/math/symengine/files/patch-CMakeLists.txt
deleted file mode 100644
index d087af99d01c..000000000000
--- a/math/symengine/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-- fix requested LLVM version
-
---- CMakeLists.txt.orig	2023-09-27 17:00:43 UTC
-+++ CMakeLists.txt
-@@ -413,7 +413,7 @@ set(WITH_LLVM no
- 
- if (WITH_LLVM)
-     set(SYMENGINE_LLVM_COMPONENTS asmparser core executionengine instcombine mcjit native nativecodegen scalaropts vectorize support transformutils passes)
--    find_package(LLVM REQUIRED ${SYMENGINE_LLVM_COMPONENTS})
-+    find_package(LLVM ${FREEBSD_LLVM_VERSION} REQUIRED ${SYMENGINE_LLVM_COMPONENTS})
-     set(LLVM_MINIMUM_REQUIRED_VERSION "4.0")
-     if (LLVM_PACKAGE_VERSION LESS ${LLVM_MINIMUM_REQUIRED_VERSION})
- 	    message(FATAL_ERROR "LLVM version found ${LLVM_PACKAGE_VERSION} is too old.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e0409b.474f9.3fb88e40>