summaryrefslogtreecommitdiff
path: root/mail/ssmtp/options.mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-03-08 09:33:19 +0000
committeradam <adam@pkgsrc.org>2005-03-08 09:33:19 +0000
commit898777eece5bfc70547349749f15b7592fe9666e (patch)
tree57c7e84b9f7b25c45271c6a113fc73fc2fe2585e /mail/ssmtp/options.mk
parent2c9456baeb4b4151202a00c9a9b1fde0317f72fa (diff)
downloadpkgsrc-898777eece5bfc70547349749f15b7592fe9666e.tar.gz
SSL support is now optional via options.mk; config files are installed correctly (Fix PR#29504)
Diffstat (limited to 'mail/ssmtp/options.mk')
-rw-r--r--mail/ssmtp/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/ssmtp/options.mk b/mail/ssmtp/options.mk
new file mode 100644
index 00000000000..d221b4a841a
--- /dev/null
+++ b/mail/ssmtp/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2005/03/08 09:33:19 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ssmtp
+PKG_DEFAULT_OPTIONS= ssl
+PKG_SUPPORTED_OPTIONS= inet6 ssl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-inet6
+.endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+CONFIGURE_ARGS+= --enable-ssl
+.include "../../security/openssl/buildlink3.mk"
+.endif