blob: 9b12e19ad1a7a7467d77a20222d3ac4c67de298b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: options.mk,v 1.2 2005/06/01 14:05:03 dillo Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.lftp
PKG_SUPPORTED_OPTIONS= gnutls ssl
PKG_SUPPORTED_OPTIONS= gnutls
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnutls) && !empty(PKG_OPTIONS:Mssl)
PKG_FAIL_REASON+= "Options \"gnutls\" and \"ssl\" are mutually exclusive."
.endif
.if !empty(PKG_OPTIONS:Mgnutls)
CONFIGURE_ARGS+= --without-openssl
.include "../../security/gnutls/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --without-gnutls
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
.include "../../security/openssl/buildlink3.mk"
.endif
|