diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-09 13:34:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-09 13:34:02 +0000 |
commit | 796c740b951d9e4c0b7f0b5a5f9a0f70ae5eb24a (patch) | |
tree | 04623cbbb20ba1fbb0489df4afc56c7f07f9fc28 /net/libfetch | |
parent | 883692e95d4dda392d1134ccd01409c5c272835d (diff) | |
download | pkgsrc-796c740b951d9e4c0b7f0b5a5f9a0f70ae5eb24a.tar.gz |
Suggest openssl option only if OpenSSL is builtin.
Diffstat (limited to 'net/libfetch')
-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" |