From bb38e12279ada3011663a0f1353198d8864e1ef1 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Tue, 10 Jun 2014 15:22:12 +0000 Subject: - Explain to user how to build if they have openssl installed. Another option is to auto select OPENSSL and PORTSSL options but I stuck with letting the user make that decision. PR: 186566 Reported by: agifford@infowest.com --- databases/mariadb55-server/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'databases') diff --git a/databases/mariadb55-server/Makefile b/databases/mariadb55-server/Makefile index 24948318e045..819dff575c60 100644 --- a/databases/mariadb55-server/Makefile +++ b/databases/mariadb55-server/Makefile @@ -83,9 +83,14 @@ CMAKE_ARGS+= -DWITH_JEMALLOC="system" .endif .if ${PORT_OPTIONS:MSSL} +.if exists(${LOCALBASE}/include/openssl/opensslv.h) +. if !${PORT_OPTIONS:MOPENSSL} || !${PORT_OPTIONS:MPORTSSL} +IGNORE= security/openssl package is installed. To build this either select the OPENSSL and PORTSSL options or deinstall openssl +. endif +.endif .if ${PORT_OPTIONS:MOPENSSL} USE_OPENSSL= yes -.if empty(PORT_OPTIONS:MPORTSSL) +.if !${PORT_OPTIONS:MPORTSSL} WITH_OPENSSL_BASE= yes .else WITH_OPENSSL_PORT= yes -- cgit