japanese/chasen-base: Fix build with llvm16

- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-23 17:15:23 +02:00
parent 5131576c89
commit e389805e1d

View file

@ -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}