- Provide sensible BROKEN_sparc64 message (it is the same lack of atomics

implementation that plagues ARM architectures as well)
- Convert to option helpers, improve wording in option descriptions, and
  spell ``yes'' knob value as we normally do in the ports land
This commit is contained in:
Alexey Dokuchaev 2017-12-23 08:13:39 +00:00
parent ddd8c8640e
commit 270487d633
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457025

View file

@ -14,12 +14,12 @@ BROKEN_aarch64= does not build: libsenna.so: undefined reference to SEN_ATOMIC_
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_powerpc64= does not build: relocation truncated to fit: R_PPC64_TOC16_DS
BROKEN_sparc64= does not build
BROKEN_sparc64= does not build: libsenna.so: undefined reference to SEN_ATOMIC_ADD_EX
GNU_CONFIGURE= YES
GNU_CONFIGURE= yes
USE_GCC= any
USES= gmake libtool pathfix
USE_LDCONFIG= YES
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-sennahome=${SENNA_HOME}
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
@ -30,20 +30,12 @@ SENNA_HOME?= /var/senna
OPTIONS_DEFINE= MECAB NFKC
OPTIONS_DEFAULT= MECAB NFKC
MECAB_DESC= use mecab for morphological analysis
NFKC_DESC= use nfkc based utf8 normalization
MECAB_DESC= Use MeCab for morphological analysis
NFKC_DESC= Use NFKC-based UTF-8 normalization
.include <bsd.port.options.mk>
MECAB_LIB_DEPENDS= libmecab.so:japanese/mecab
MECAB_CONFIGURE_OFF= --without-mecab
.if ${PORT_OPTIONS:MMECAB}
CONFIGURE_ARGS+= --with-mecab
LIB_DEPENDS+= libmecab.so:japanese/mecab
.else
CONFIGURE_ARGS+= --without-mecab
.endif
.if ${PORT_OPTIONS:MNFKC}
CONFIGURE_ARGS+= --disable-nfkc
.endif
NFKC_CONFIGURE_OFF= --disable-nfkc
.include <bsd.port.mk>