git: bc4255ece4e3 - main - devel/dbus: ensure version script is supported

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 04 Jan 2024 12:39:16 UTC
The branch main has been updated by bapt:

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

commit bc4255ece4e3b24b4a874f3e028d4ba6b7841514
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-01-04 12:36:07 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-01-04 12:38:55 +0000

    devel/dbus: ensure version script is supported
    
    dbus in its configure script is testing if ld supports version scripts
    to do test it test an empty code with a map file full of symbols, which
    results in failure with lld 1.17 which complains the version contains
    unknown symbols.
    
    By pass the test claiming we always support version script to fix this.
    Bump portrevision as some packages has been build without proper
    versioning
---
 devel/dbus/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile
index 7f03dd260e9b..b7c26d00e047 100644
--- a/devel/dbus/Makefile
+++ b/devel/dbus/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dbus
 DISTVERSION=	1.14.10
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	devel gnome
 MASTER_SITES=	https://dbus.freedesktop.org/releases/dbus/
@@ -27,6 +27,7 @@ CONFIGURE_ARGS=	--disable-apparmor \
 		--disable-systemd \
 		--with-session-socket-dir=/tmp \
 		--with-test-socket-dir=${WRKDIR}
+CONFIGURE_ENV=	have_ld_version_script=yes
 
 INSTALL_TARGET=	install-strip