diff options
author | dsainty <dsainty@pkgsrc.org> | 2007-11-20 07:51:35 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2007-11-20 07:51:35 +0000 |
commit | 2995988958fb0ae6e295d4a16d47bb7729adb08e (patch) | |
tree | f7f4a1b4c0105e15258acd2dc2f3bf43b32425a8 /net | |
parent | b0e1fb581a1b33bfdc85de6d1effe867abddeb4a (diff) | |
download | pkgsrc-2995988958fb0ae6e295d4a16d47bb7729adb08e.tar.gz |
If the "ssl" option is not present, inhibit SSL support by configuring
with --without-openssl. Corrects package build on systems with
non-Pkgsrc OpenSSL installations. Fixes breakage under Linux.
Diffstat (limited to 'net')
-rw-r--r-- | net/net-snmp/options.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/net-snmp/options.mk b/net/net-snmp/options.mk index e29740c70e3..07850bb16f6 100644 --- a/net/net-snmp/options.mk +++ b/net/net-snmp/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2006/01/24 22:16:55 adam Exp $ +# $NetBSD: options.mk,v 1.6 2007/11/20 07:51:35 dsainty Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.net-snmp PKG_SUPPORTED_OPTIONS= ssl @@ -23,4 +23,6 @@ PLIST_SUBST+= IPV6H="@comment " .if !empty(PKG_OPTIONS:Mssl) . include "../../security/openssl/buildlink3.mk" CONFIGURE_ARGS+= --with-openssl +.else +CONFIGURE_ARGS+= --without-openssl .endif |