summaryrefslogtreecommitdiff
path: root/databases/mysql4-client/options.mk
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-07-09 22:27:35 +0000
committeradrianp <adrianp@pkgsrc.org>2007-07-09 22:27:35 +0000
commit56ad96424574a3e0680aba17429084786890f64b (patch)
tree3fc5873f82184949f77f920e988c43a90b73ae50 /databases/mysql4-client/options.mk
parenteb9a287de1028cf3e93349d030970ae42e0b95db (diff)
downloadpkgsrc-56ad96424574a3e0680aba17429084786890f64b.tar.gz
Add an options.mk for SSL support
Suggested by pancake@ in PR #28573
Diffstat (limited to 'databases/mysql4-client/options.mk')
-rw-r--r--databases/mysql4-client/options.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/mysql4-client/options.mk b/databases/mysql4-client/options.mk
new file mode 100644
index 00000000000..ede4e7ba2c1
--- /dev/null
+++ b/databases/mysql4-client/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2007/07/09 22:27:35 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.mysql4-client
+
+PKG_SUPPORTED_OPTIONS= ssl
+PKG_SUGGESTED_OPTIONS= ssl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Enable OpenSSL support
+###
+.if !empty(PKG_OPTIONS:Mssl)
+. include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
+.else
+CONFIGURE_ARGS+= --without-openssl
+.endif