diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-01-24 16:37:46 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-01-24 17:22:19 +0000 |
commit | a323045d5d52010f05fedee55ef996e5d756820b (patch) | |
tree | 4527a0f021ccb97738f3b5f831093cb12f4db3c9 /dns/libidn2 | |
parent | 0bed1393cadb4f6c5fed8d5993287b15e69b85dc (diff) | |
download | ports-a323045d5d52010f05fedee55ef996e5d756820b.tar.gz ports-a323045d5d52010f05fedee55ef996e5d756820b.zip |
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
Diffstat (limited to 'dns/libidn2')
-rw-r--r-- | dns/libidn2/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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 |