git: e389805e1dcc - main - japanese/chasen-base: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 23 Jul 2023 15:53:18 UTC
The branch main has been updated by bofh:

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

commit e389805e1dcc81cd35355539643a41976576dfcb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 15:15:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 15:53:03 +0000

    japanese/chasen-base: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 japanese/chasen-base/Makefile | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/japanese/chasen-base/Makefile b/japanese/chasen-base/Makefile
index 3d2a60b00f1e..526456279a9c 100644
--- a/japanese/chasen-base/Makefile
+++ b/japanese/chasen-base/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	chasen
 PORTVERSION=	2.4.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	japanese textproc
 MASTER_SITES=	OSDN/chasen-legacy
 PKGNAMESUFFIX=	-base
@@ -8,13 +8,18 @@ PKGNAMESUFFIX=	-base
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Japanese Morphological Analysis System
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	${LOCALBASE}/include/darts.h:devel/darts
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-darts=${LOCALBASE}/include ${ICONV_CONFIGURE_BASE}
-USES=		cpe iconv libtool
+USES=		cpe iconv libtool localbase
 CPE_VENDOR=	naist.jp
 USE_LDCONFIG=	yes
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE}
+
 INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	DOCS
@@ -26,6 +31,8 @@ post-patch:
 
 post-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/manual* ${STAGEDIR}${DOCSDIR}