From ec6430a49fa89f9788f9a81a4582a83248d8915e Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Fri, 10 Dec 2010 23:05:36 +0000 Subject: - OPTIONally support SSL PR: ports/152230 Submitted by: Emanuel Haupt Approved by: maintainer timeout (skv ; 24 days) --- databases/p5-DBD-mysql/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'databases') 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 + +.if defined(WITH_SSL) +CONFIGURE_ARGS+= --ssl +RUN_DEPENDS+= p5-security/p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay +.endif + .include -- cgit v1.2.3