git: 30bb7cd78f6a - main - devel/gwm: Fix LICENSE after upstream dual-license switch

From: Jimmy Olgeni <olgeni_at_FreeBSD.org>
Date: Sun, 18 Oct 2026 09:56:55 UTC
The branch main has been updated by olgeni:

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

commit 30bb7cd78f6abfb2d83c89f1ef01a4558bd4cd33
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2026-10-18 09:33:20 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2026-10-18 09:56:40 +0000

    devel/gwm: Fix LICENSE after upstream dual-license switch
    
    Upstream relicensed at 1.10.0: LICENSE.md is gone, replaced by
    LICENSE-MIT and LICENSE-APACHE, and Cargo.toml now declares
    "MIT OR Apache-2.0".  The stale LICENSE_FILE went unnoticed in the
    1.10.0 update because licenses were disabled in the build at the
    time; with them enabled again the patch phase fails with "Missing
    license file for MIT".
    
    No PORTREVISION bump: the pending _1 -> _2 revision has never
    produced a package, so the added license files ride along with it.
---
 devel/gwm/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/devel/gwm/Makefile b/devel/gwm/Makefile
index b9e18e8c432b..25520695a789 100644
--- a/devel/gwm/Makefile
+++ b/devel/gwm/Makefile
@@ -8,8 +8,10 @@ MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	Git worktree manager with CLI and TUI
 WWW=		https://github.com/kbrdn1/gwm-cli
 
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE.md
+LICENSE=	APACHE20 MIT
+LICENSE_COMB=	dual
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
 
 USES=		cargo
 USE_GITHUB=	yes