diff options
author | joerg <joerg> | 2009-02-09 13:34:02 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-02-09 13:34:02 +0000 |
commit | cb361494b7585154b20c4d0f9e304b5cc3341755 (patch) | |
tree | 04623cbbb20ba1fbb0489df4afc56c7f07f9fc28 /net | |
parent | e37f32976ed8bdf91de341ce81cb64ea876349b9 (diff) | |
download | pkgsrc-cb361494b7585154b20c4d0f9e304b5cc3341755.tar.gz |
Suggest openssl option only if OpenSSL is builtin.
Diffstat (limited to 'net')
-rw-r--r-- | net/libfetch/options.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net/libfetch/options.mk b/net/libfetch/options.mk index 48f4112d2b3..28a680c5800 100644 --- a/net/libfetch/options.mk +++ b/net/libfetch/options.mk @@ -1,8 +1,14 @@ -# $NetBSD: options.mk,v 1.2 2008/10/06 12:58:29 joerg Exp $ +# $NetBSD: options.mk,v 1.3 2009/02/09 13:34:02 joerg Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.libfetch PKG_SUPPORTED_OPTIONS= inet6 openssl -PKG_SUGGESTED_OPTIONS= inet6 openssl +PKG_SUGGESTED_OPTIONS= inet6 + +.include "../../security/openssl/builtin.mk" + +.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) +PKG_SUGGESTED_OPTIONS+= openssl +.endif .include "../../mk/bsd.options.mk" |