pkgsrc-ng/net/haproxy/options.mk
2016-01-21 23:40:00 +01:00

24 lines
546 B
Makefile

# $NetBSD: options.mk,v 1.2 2015/03/14 20:36:23 rodent Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.haproxy
PKG_SUPPORTED_OPTIONS= pcre ssl
PKG_SUGGESTED_OPTIONS= pcre ssl
.include "../../mk/bsd.options.mk"
###
### Use libpcre rather than libc for header processing regexp
###
.if !empty(PKG_OPTIONS:Mpcre)
. include "../../devel/pcre/buildlink3.mk"
BUILD_MAKE_FLAGS+= USE_PCRE=1
.endif
###
### Support OpenSSL for termination.
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
BUILD_MAKE_FLAGS+= USE_OPENSSL=1
.endif