1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/textproc/senna/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

41 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= senna
PORTVERSION= 1.1.5
PORTREVISION= 8
PORTEPOCH= 1
CATEGORIES= textproc
MASTER_SITES= OSDN/senna/46945
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Embeddable Fulltext Search Engine
BROKEN_aarch64= does not build: libsenna.so: undefined reference to SEN_ATOMIC_ADD_EX
BROKEN_armv6= does not build: libsenna.so: undefined reference to SEN_ATOMIC_ADD_EX
BROKEN_armv7= does not build: libsenna.so: undefined reference to SEN_ATOMIC_ADD_EX
BROKEN_sparc64= does not build: libsenna.so: undefined reference to SEN_ATOMIC_ADD_EX
USES= compiler:c11 gmake libtool pathfix
GNU_CONFIGURE= yes
USE_GCC= any
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-sennahome=${SENNA_HOME}
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
MAKE_ARGS= CFLAGS="${CFLAGS}"
WRKSRC= ${WRKDIR}/${DISTNAME}
SENNA_HOME?= /var/senna
OPTIONS_DEFINE= MECAB NFKC
OPTIONS_DEFAULT= MECAB NFKC
MECAB_DESC= Use MeCab for morphological analysis
NFKC_DESC= Use NFKC-based UTF-8 normalization
MECAB_LIB_DEPENDS= libmecab.so:japanese/mecab
MECAB_CONFIGURE_OFF= --without-mecab
NFKC_CONFIGURE_OFF= --disable-nfkc
.include <bsd.port.mk>