Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2023 03:54:15 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6fb835f3b6ea - stable/12 - heimdal: Do not build a redundant source file
Message-ID:  <202304090354.3393sFAB024173@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



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