2013-09-26 17:14:40 +02:00

16 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