git: 15506688c9ac - main - devel/gdb: Point to LOCALBASE/lib/debug dir for the debugging symbols.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 03 Feb 2024 06:32:26 UTC
The branch main has been updated by arrowd:

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

commit 15506688c9aceb66227a121191a37047ff1b76d2
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-01-26 05:41:18 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-02-03 06:31:40 +0000

    devel/gdb: Point to LOCALBASE/lib/debug dir for the debugging symbols.
---
 devel/gdb/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile
index 8edd9cfd3b9b..b47657c721fd 100644
--- a/devel/gdb/Makefile
+++ b/devel/gdb/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gdb
 DISTVERSION=	14.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	GNU
 
@@ -28,6 +29,7 @@ CONFIGURE_ARGS=	--program-suffix=${VER} \
 		--disable-sim \
 		--enable-targets=all --enable-64-bit-bfd \
 		--with-separate-debug-dir=/usr/lib/debug \
+		--with-additional-debug-dirs=${LOCALBASE}/lib/debug \
 		${ICONV_CONFIGURE_ARG} \
 		--without-libunwind-ia64
 CONFIGURE_OUTSOURCE=	yes