pkgsrc/textproc/cabocha/hacks.mk
obache c5e240a607 Update cabocha to 0.66.
ChaSen is not supported anymore, using MeCab.
and use CRF++ instead of YamCha.
2013-05-22 13:14:29 +00:00

15 lines
408 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2013/05/22 13:14:29 obache Exp $
.if !defined(CABOCHA_HACKS_MK)
CABOCHA_HACKS_MK= # defined
# No TLS support on NetBSD<6
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
PKG_HACKS+= netbsd5-disable_tls
SUBST_CLASSES+= disable_tls
SUBST_STAGE.disable_tls= pre-configure
SUBST_FILES.disable_tls= configure
SUBST_SED.disable_tls= -e 's/enable_tls=yes/enable_tls=no/'
.endif
.endif