summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-09 13:34:02 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-09 13:34:02 +0000
commitd537ef643ac615e3c5757ee2455869d655a07826 (patch)
tree04623cbbb20ba1fbb0489df4afc56c7f07f9fc28 /net
parent73be99d8dbc85fc090f9d8eac58b480c497958a3 (diff)
downloadpkgsrc-d537ef643ac615e3c5757ee2455869d655a07826.tar.gz
Suggest openssl option only if OpenSSL is builtin.
Diffstat (limited to 'net')
-rw-r--r--net/libfetch/options.mk10
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"