git: c7765629fea6 - main - math/symengine: fix build on 16 by removing unnecessary conditional patch

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 20 Jul 2026 19:22:39 UTC
The branch main has been updated by yuri:

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

commit c7765629fea61e392041c5b062f7f5c965eafeb9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-20 18:19:56 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-20 19:22:28 +0000

    math/symengine: fix build on 16 by removing unnecessary conditional patch
    
    Reported by:    fallout
---
 math/symengine/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/math/symengine/Makefile b/math/symengine/Makefile
index ad40b1e56bf0..734790e599e7 100644
--- a/math/symengine/Makefile
+++ b/math/symengine/Makefile
@@ -78,13 +78,6 @@ PIRANHA_DESC=		piranha
 PIRANHA_CMAKE_ON=	-DINTEGER_CLASS:STRING=piranha
 PIRANHA_BUILD_DEPENDS=	piranha>0:math/piranha
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 1600017 || (${PORT_OPTIONS:MLLVM} && ${LLVM_VERSION} >= 20)
-post-patch:
-	${REINPLACE_CMD} -e s/getDeclaration/getOrInsertDeclaration/ ${WRKSRC}/symengine/llvm_double.cpp
-.endif
-
 do-test: # one test fails: https://github.com/symengine/symengine/issues/1697
 	@cd ${BUILD_WRKSRC} && \
 		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
@@ -93,4 +86,4 @@ do-test: # one test fails: https://github.com/symengine/symengine/issues/1697
 
 # tests as of 0.14.0: 100% tests passed, 0 tests failed out of 66
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>