git: 41d59911159e - 2024Q1 - security/heimdal: Fix build

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 15 Mar 2024 00:27:12 UTC
The branch 2024Q1 has been updated by cy:

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

commit 41d59911159e830876ddc60d90d3d4bdc16b9cb6
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-14 21:54:29 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-15 00:26:46 +0000

    security/heimdal: Fix build
    
    Fix build due to many undefined symbols listed in version.map. The
    problem is that the listed functions are conditionally built and since
    they exist in FreeBSD they are not built but they are still referenced
    in version.map.
    
    PR:             275979
    Approved by:    portmgr (just fix it)
    
    (cherry picked from commit 64f7f98bb61947a72001a84f06840c374b26628d)
---
 security/heimdal/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index 51e1bb3f096d..f777807c7826 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -44,6 +44,7 @@ CONFIGURE_ARGS=	--with-berkeley-db \
 		--sysconfdir="${PREFIX}/etc"
 # XXX --with-readline picks up libreadline even if found in /usr/lib.
 MAKE_ENV=	INSTALL_CATPAGES=no
+LDFLAGS=	-Wl,--undefined-version
 INSTALL_TARGET=	install-strip
 .if !exists(/etc/rc.d/ipropd_master)
 USE_RC_SUBR=	ipropd_master ipropd_slave