git: 64f7f98bb619 - main - security/heimdal: Fix build

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 22:12:56 UTC
The branch main has been updated by cy:

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

commit 64f7f98bb61947a72001a84f06840c374b26628d
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-14 21:54:29 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-14 22:08:38 +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
    MFH:            2024Q1
    Approved by:    portmgr (just fix it)
---
 security/heimdal/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index b3fcec8efb8d..cdef0c697067 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -45,6 +45,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