summaryrefslogtreecommitdiff
path: root/textproc/cabocha/hacks.mk
blob: 19339f7badc588c944b5a47796d1ad1cd8313dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $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