summaryrefslogtreecommitdiff
path: root/mail/ssmtp/options.mk
blob: b8ff2388dcc4e96e1a74ea4cff980f419a9ee4a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: options.mk,v 1.5 2016/03/09 03:26:14 tnn Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ssmtp
PKG_SUPPORTED_OPTIONS=	inet6 ssl
PKG_SUGGESTED_OPTIONS=	inet6 ssl

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=	--enable-inet6
.endif

.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+=	--enable-ssl
CFLAGS+=		${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
CFLAGS+=		-L${BUILDLINK_PREFIX.openssl}/lib
.include "../../security/openssl/buildlink3.mk"
.endif