pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch Suggest openssl option only if OpenSSL is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb4c5753cc13
branches:  trunk
changeset: 554131:cb4c5753cc13
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 09 13:34:02 2009 +0000

description:
Suggest openssl option only if OpenSSL is builtin.

diffstat:

 net/libfetch/options.mk |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r ae3fca0caa93 -r cb4c5753cc13 net/libfetch/options.mk
--- a/net/libfetch/options.mk   Mon Feb 09 11:57:48 2009 +0000
+++ b/net/libfetch/options.mk   Mon Feb 09 13:34:02 2009 +0000
@@ -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"
 



Home | Main Index | Thread Index | Old Index