git: 0cdbb48f6010 - 2026Q1 - japanese/kdrill: fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Feb 2026 01:21:00 UTC
The branch 2026Q1 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0cdbb48f601065ccae18c7e2f9f213f1b8b2a6be
commit 0cdbb48f601065ccae18c7e2f9f213f1b8b2a6be
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-02-15 15:59:19 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-02-24 01:20:53 +0000
japanese/kdrill: fix build
This adds a missing parenthesis to $(LOCALBASE).
It is unclear why this hasn't been noticed earlier.
While we are at it, define LICENSE.
Fixes: 2546bd0290761071e3ad392427d7c2ba4e5a396b
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC
(cherry picked from commit 8552be0c42f43fbc0a2db02c7982e8355c6b52a4)
---
japanese/kdrill/Makefile | 7 ++++++-
japanese/kdrill/files/patch-Imakefile | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/japanese/kdrill/Makefile b/japanese/kdrill/Makefile
index 8968081e2cf4..2b5a06a8b1b0 100644
--- a/japanese/kdrill/Makefile
+++ b/japanese/kdrill/Makefile
@@ -1,6 +1,6 @@
PORTNAME= kdrill
PORTVERSION= 6.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= http://www.bolthole.com/kdrill/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -9,6 +9,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Program to quiz you on the meanings of Kanji
WWW= http://www.bolthole.com/kdrill/
+LICENSE= CUSTOM
+LICENSE_NAME= kdrill license
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
RUN_DEPENDS= xjdic:japanese/edict
USES= imake xorg
diff --git a/japanese/kdrill/files/patch-Imakefile b/japanese/kdrill/files/patch-Imakefile
index f5d84d3b7476..ce9811b95de5 100644
--- a/japanese/kdrill/files/patch-Imakefile
+++ b/japanese/kdrill/files/patch-Imakefile
@@ -9,7 +9,7 @@
-RADLOCATION= /usr/local/lib/radkfile
+DICTLOCATION= $(LOCALBASE)/share/dict/edict/kanjidic
+EDICTLOCATION= $(LOCALBASE)/share/dict/edict/edict
-+RADLOCATION= $(LOCALBASE/share/dict/edict/radkfile
++RADLOCATION= $(LOCALBASE)/share/dict/edict/radkfile
# If for some reason, the user prefs stuff isn't working for you,
# and you can't compile, uncomment this