diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-07-27 13:20:26 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-07-27 13:20:26 +0000 |
commit | a33e8bd5e846db7b51d5e1b3cb53a92d93813a68 (patch) | |
tree | c53cb0b71375f297c46364edc6953e2109ef4691 /pkgtools/pkg_install/options.mk | |
parent | 488057cd42547e6e972f648f99abe0fd4a9b6cb9 (diff) | |
download | pkgsrc-a33e8bd5e846db7b51d5e1b3cb53a92d93813a68.tar.gz |
Sync with net/libfetch/options.mk so that the bundled libfetch can be
correctly built without SSL support.
Diffstat (limited to 'pkgtools/pkg_install/options.mk')
-rw-r--r-- | pkgtools/pkg_install/options.mk | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/options.mk b/pkgtools/pkg_install/options.mk index 29c1645d029..29272e1226b 100644 --- a/pkgtools/pkg_install/options.mk +++ b/pkgtools/pkg_install/options.mk @@ -1,9 +1,15 @@ -# $NetBSD: options.mk,v 1.2 2012/06/12 15:46:02 wiz Exp $ +# $NetBSD: options.mk,v 1.3 2012/07/27 13:20:26 jperkin Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.libfetch -PKG_SUPPORTED_OPTIONS= inet6 +PKG_SUPPORTED_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" .if !empty(PKG_OPTIONS:Minet6) @@ -11,3 +17,11 @@ MAKE_ENV+= FETCH_WITH_INET6=yes .else MAKE_ENV+= FETCH_WITH_INET6=no .endif + +.if !empty(PKG_OPTIONS:Mopenssl) +MAKE_ENV+= FETCH_WITH_OPENSSL=yes + +.include "../../security/openssl/buildlink3.mk" +.else +MAKE_ENV+= FETCH_WITH_OPENSSL=no +.endif |