diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2022-01-31 17:12:30 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2022-01-31 20:38:32 +0000 |
commit | 3a8f6e50d75a904f5ec6e46005eb1b885563d76c (patch) | |
tree | 2199a02e4dc539e6fc173493190638383644599e /cad | |
parent | f97fe90e0a0cc38a9e874fc8f5a3e76a4f042384 (diff) | |
download | ports-3a8f6e50d75a904f5ec6e46005eb1b885563d76c.tar.gz ports-3a8f6e50d75a904f5ec6e46005eb1b885563d76c.zip |
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
(cherry picked from commit a961a22e6f7c4287511ac582362e65236ece4725)
Diffstat (limited to 'cad')
-rw-r--r-- | cad/opencascade/Makefile | 4 |
1 files 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 \ |