git: 64cc06e8200b - main - devel/gdb: declare dependency on Boost.Regex with SOURCE_HIGHLIGHT=ON (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Dec 2024 16:23:37 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=64cc06e8200b5e6caaeb229c9cf03512b5148606
commit 64cc06e8200b5e6caaeb229c9cf03512b5148606
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-12-13 16:18:09 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-12-13 16:23:29 +0000
devel/gdb: declare dependency on Boost.Regex with SOURCE_HIGHLIGHT=ON (+)
Source-highlight forces consumers to link with liboost_regex.so
Without declared dependency gdb fails to start after boost update:
ld-elf.so.1: Shared object "libboost_regex.so.1.85.0" not found, required by "gdb"
Approved by: portmgr blanket
Sponsored by: Future Crew, LLC
---
devel/gdb/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile
index df5668984623..107b52d768d1 100644
--- a/devel/gdb/Makefile
+++ b/devel/gdb/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gdb
DISTVERSION= 15.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNU
@@ -79,6 +80,7 @@ PYTHON_CONFIGURE_OFF= --without-python
PYTHON_USES= python
SOURCE_HIGHLIGHT_CONFIGURE_ENABLE= source-highlight
SOURCE_HIGHLIGHT_LIB_DEPENDS= \
+ libboost_regex.so:devel/boost-libs \
libsource-highlight.so:textproc/source-highlight
SYSTEM_ICONV_USES= iconv
SYSTEM_ZLIB_CONFIGURE_WITH= system-zlib