aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-mysql
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-10 23:05:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-10 23:05:36 +0000
commitec6430a49fa89f9788f9a81a4582a83248d8915e (patch)
treef9dfc4b246aa8f4a3669b706887125d20f46221d /databases/p5-DBD-mysql
parent1d43487fb8a2bf82410e9b34091164087db708c6 (diff)
downloadports-ec6430a49fa89f9788f9a81a4582a83248d8915e.tar.gz
ports-ec6430a49fa89f9788f9a81a4582a83248d8915e.zip
Notes
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r--databases/p5-DBD-mysql/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 98ec129fd45f..e183e620eab4 100644
--- a/databases/p5-DBD-mysql/Makefile
+++ b/databases/p5-DBD-mysql/Makefile
@@ -26,4 +26,13 @@ PERL_CONFIGURE= yes
MAN3= Bundle::DBD::mysql.3 DBD::mysql.3 DBD::mysql::INSTALL.3
+OPTIONS= SSL "build with OpenSSL support" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_SSL)
+CONFIGURE_ARGS+= --ssl
+RUN_DEPENDS+= p5-security/p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay
+.endif
+
.include <bsd.port.mk>