Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2023 02:18:18 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7ee18f5aada0 - main - heimdal: Do not build a redundant source file
Message-ID:  <202304020218.3322IIKT068848@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=7ee18f5aada07f03433504545c1b7bed91cbda82

commit 7ee18f5aada07f03433504545c1b7bed91cbda82
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-04-01 03:43:10 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-04-02 02:18: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.
    
    MFC after:      1 week
---
 kerberos5/lib/libhdb/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile
index f39d54d6c2d7..26caf43e5429 100644
--- a/kerberos5/lib/libhdb/Makefile
+++ b/kerberos5/lib/libhdb/Makefile
@@ -43,7 +43,6 @@ INCS=	hdb-protos.h \
 
 SRCS=	common.c \
 	db.c \
-	db3.c \
 	dbinfo.c \
 	ext.c \
 	hdb-ldap.c \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304020218.3322IIKT068848>