git: a961a22e6f7c - main - cad/opencascade: link with execinfo

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Mon, 31 Jan 2022 17:16:39 UTC
The branch main has been updated by thierry:

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

commit a961a22e6f7c4287511ac582362e65236ece4725
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-01-31 17:12:30 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-01-31 17:16:33 +0000

    cad/opencascade: link with execinfo
    
    Fix a failure detected in another project:
    > ImportError: /usr/local/lib/libTKernel.so.7: Undefined symbol "backtrace"
    
    PR:             261583
    Reported by:    yuri
---
 cad/opencascade/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
index 9c97b62d47ea..7c34082f9c5b 100644
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	opencascade
 PORTVERSION=	7.6.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	cad science
 MASTER_SITES=	LOCAL/thierry
 
@@ -49,7 +49,7 @@ OPTIONS_DEFAULT=FFMPEG VIS
 OPTIONS_SUB=	yes
 
 REINPLACE_ARGS=	-i ""
-LDFLAGS+=	-Wl,--allow-shlib-undefined
+LDFLAGS+=	-Wl,--allow-shlib-undefined -lexecinfo
 CMAKE_ARGS+=	-DINSTALL_DIR=${OCCROOT}				\
 		-DINSTALL_DIR_INCLUDE=${PREFIX}/include/OpenCASCADE	\
 		-DINSTALL_DIR_LIB=${PREFIX}/lib				\