summaryrefslogtreecommitdiff
path: root/mail/mpop/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mpop/options.mk')
-rw-r--r--mail/mpop/options.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/mail/mpop/options.mk b/mail/mpop/options.mk
new file mode 100644
index 00000000000..0a0732eac49
--- /dev/null
+++ b/mail/mpop/options.mk
@@ -0,0 +1,25 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/11/13 03:09:20 minskim Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.mpop
+PKG_SUPPORTED_OPTIONS= gsasl
+PKG_OPTIONS_OPTIONAL_GROUPS= ssl
+PKG_OPTIONS_GROUP.ssl= gnutls ssl
+PKG_SUGGESTED_OPTIONS= ssl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgnutls)
+CONFIGURE_ARGS+= --with-ssl=gnutls
+. include "../../security/gnutls/buildlink3.mk"
+.elif !empty(PKG_OPTIONS:Mssl)
+CONFIGURE_ARGS+= --with-ssl=openssl
+. include "../../security/openssl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-ssl
+.endif
+
+.if !empty(PKG_OPTIONS:Mgsasl)
+CONFIGURE_ARGS+= --enable-gsasl
+. include "../../security/gsasl/buildlink3.mk"
+.endif