[Midnightbsd-cvs] [MidnightBSD/mports] 5fc7ef: dns/libidn2: enable ELF symbol versioning

Lucas Holt noreply at github.com
Wed Sep 23 23:22:49 EDT 2026


  Branch: refs/heads/dns/libidn2
  Home:   https://github.com/MidnightBSD/mports
  Commit: 5fc7efc363e6722addad835d295bee2a419e64b9
      https://github.com/MidnightBSD/mports/commit/5fc7efc363e6722addad835d295bee2a419e64b9
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M dns/libidn2/Makefile

  Log Message:
  -----------
  dns/libidn2: enable ELF symbol versioning

gnulib's gl_LD_VERSION_SCRIPT probe links a test program against a map
that names a symbol the program never defines. LLD 16+ defaults to
--no-undefined-version, so the probe fails on MidnightBSD and libidn2
was built without its IDN2_* version nodes, unlike the FreeBSD package.

Force --enable-ld-version-script and pass -Wl,--undefined-version as
FreeBSD does, add HAS_SYMBOL_VERSION so fake-sanity catches a
regression, and set TEST_TARGET=check so bmake test runs the upstream
suite. Bump PORTREVISION since the installed ABI gains symbol versions.

Refs #1380

AI-Assisted-by: Claude Fable 5.1 <noreply at anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list