Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2024 17:22:21 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a323045d5d52 - main - dns/libind2: deal with lld 17+
Message-ID:  <202401241722.40OHMLt4066593@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt:

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

commit a323045d5d52010f05fedee55ef996e5d756820b
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-01-24 16:37:46 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-01-24 17:22:19 +0000

    dns/libind2: deal with lld 17+
    
    force the configure script to always activate symbol versionning
    the test in the configure script being broken, dies when lld 17+
    which errors in case of trying to version non existing symbols.
    
    while here switch to the old behaviour of lld which is not erroring
    when versioning non exitsing symbols, because the version file contains
    non existing symbols (hasn't been cleaned up upstream)
    
    Bump portrevision has non versionned binaries has been released
---
 dns/libidn2/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dns/libidn2/Makefile b/dns/libidn2/Makefile
index 3e57c035bb13..2d6c6e3b7952 100644
--- a/dns/libidn2/Makefile
+++ b/dns/libidn2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libidn2
 PORTVERSION=	2.3.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	dns
 MASTER_SITES=	GNU/libidn
 
@@ -16,9 +16,11 @@ BUILD_DEPENDS=	help2man:misc/help2man
 LIB_DEPENDS=	libunistring.so:devel/libunistring
 
 USES=		charsetfix iconv libtool localbase makeinfo pathfix
+LDFLAGS+=	-Wl,--undefined-version
 
 CONFIGURE_ARGS=	--disable-nls \
 		--with-libunistring-prefix=${LOCALBASE} \
+		--enable-ld-version-script \
 		ac_cv_prog_RONN=${TRUE}
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401241722.40OHMLt4066593>