pkgsrc/textproc/CRF++/hacks.mk
obache c0e1bd164b Import CRF++-0.58 as textproc/CRF++.
CRF++ is a simple, customizable, and open source implementation of Conditional
Random Fields (CRFs) for segmenting/labeling sequential data. CRF++ is designed
for generic purpose and will be applied to a variety of NLP tasks, such as Named
Entity Recognition, Information Extraction and Text Chunking.
2013-05-22 13:07:47 +00:00

15 lines
404 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2013/05/22 13:07:47 obache Exp $
.if !defined(CRFPP_HACKS_MK)
CRFPP_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