git: a323045d5d52 - main - dns/libind2: deal with lld 17+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Jan 2024 17:22:21 UTC
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