summaryrefslogtreecommitdiff
path: root/textproc/CRF++/hacks.mk
blob: 8ee395001487ab23e832bd8a2901f00c58d0d5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: hacks.mk,v 1.3 2022/05/24 09:53:02 nia Exp $

.if !defined(CRFPP_HACKS_MK)
CRFPP_HACKS_MK=	# defined

# No TLS support on NetBSD<6
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 060000
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