git: dd45e27e2f25 - main - mail/mutt: Indicate that mutt becomes AGPLv3 if linked with bdb18

From: Dmitri Goutnik <dmgk_at_FreeBSD.org>
Date: Tue, 17 May 2022 22:14:30 UTC
The branch main has been updated by dmgk:

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

commit dd45e27e2f259baa1fa8cee9d4891facd6da322d
Author:     John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2022-05-17 22:08:12 +0000
Commit:     Dmitri Goutnik <dmgk@FreeBSD.org>
CommitDate: 2022-05-17 22:14:04 +0000

    mail/mutt: Indicate that mutt becomes AGPLv3 if linked with bdb18
    
    Set LICENSE to AGPLv3 if mutt is linked with bdb18 and show in
    options that bdb18 is licensed under AGPLv3.
    
    PR:             264024
    Approved by:    Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)
---
 mail/mutt/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 68951641fe52..8659b0e2dc86 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -69,7 +69,7 @@ DEBUG_LOGS_DESC=		Debugging capabilities
 FLOCK_DESC=			flock() usage
 GPGME_DESC=			Gpgme interface
 GREETING_PATCH_DESC=		Greeting support
-HCACHE_BDB_DESC=		Use Berkeley DB (BDB)
+HCACHE_BDB_DESC=		Use Berkeley DB (BDB) (AGPLv3)
 HCACHE_DESC=			Header Cache support
 HCACHE_GDBM_DESC=		Use GDBM
 HCACHE_KYOTOCABINET_DESC=	Use Kyoto Cabinet
@@ -133,7 +133,8 @@ GSSAPI_NONE_CONFIGURE_ON=	--without-gss
 HCACHE_BDB_USES=			bdb:18
 HCACHE_BDB_CONFIGURE_WITH=		bdb=${LOCALBASE}
 HCACHE_BDB_VARS=			CFLAGS+=-I${BDB_INCLUDE_DIR} \
-					LDFLAGS+=-L${BDB_LIB_DIR}
+					LDFLAGS+=-L${BDB_LIB_DIR} \
+					LICENSE=AGPLv3
 HCACHE_GDBM_LIB_DEPENDS=		libgdbm.so:databases/gdbm
 HCACHE_GDBM_CONFIGURE_WITH=		gdbm=${LOCALBASE}
 HCACHE_KYOTOCABINET_LIB_DEPENDS=	libkyotocabinet.so:databases/kyotocabinet