summaryrefslogtreecommitdiff
path: root/textproc/CRF++/hacks.mk
blob: ca8ce5414d46a71217022ed1aa9ef9c7028847e8 (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: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