git: 6fb835f3b6ea - stable/12 - heimdal: Do not build a redundant source file

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 03:54:15 UTC
The branch stable/12 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=6fb835f3b6eab2d7906d33c3d177ac327f033901

commit 6fb835f3b6eab2d7906d33c3d177ac327f033901
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-04-01 03:43:10 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-04-09 03:53:05 +0000

    heimdal: Do not build a redundant source file
    
    Heimdal's lib/hdb/db3.c is only built if DB3 is enabled, i.e. #if HAVE_DB3.
    FreeBSD's bdb is DB1. Therefore the entire db3.c file is #ifdef'd out.
    Let's avoid building a file that results in a useless object file.
    
    (cherry picked from commit 7ee18f5aada07f03433504545c1b7bed91cbda82)
---
 kerberos5/lib/libhdb/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile
index 29ba7d2c58a2..93b27afcff2b 100644
--- a/kerberos5/lib/libhdb/Makefile
+++ b/kerberos5/lib/libhdb/Makefile
@@ -39,7 +39,6 @@ INCS=	hdb-protos.h \
 
 SRCS=	common.c \
 	db.c \
-	db3.c \
 	dbinfo.c \
 	ext.c \
 	hdb-ldap.c \