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 | 819a9ad3fd938224137267380d5c25a3ebece1ae (patch) | |
tree | f7f4a1b4c0105e15258acd2dc2f3bf43b32425a8 /net/net-snmp | |
parent | aef7be9e2b7b65f4b0f876312ad20cd73673666c (diff) | |
download | pkgsrc-819a9ad3fd938224137267380d5c25a3ebece1ae.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/net-snmp')
-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 |