summaryrefslogtreecommitdiffstats
path: root/database/mysql/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'database/mysql/DEPENDS')
-rwxr-xr-xdatabase/mysql/DEPENDS15
1 files changed, 13 insertions, 2 deletions
diff --git a/database/mysql/DEPENDS b/database/mysql/DEPENDS
index 6dc36f6dcb..3387320186 100755
--- a/database/mysql/DEPENDS
+++ b/database/mysql/DEPENDS
@@ -3,7 +3,18 @@ depends perl &&
depends procps &&
depends g++ &&
-if ! list_find "$MSQL_ENGINES" "none" && list_find "$MSQL_ENGINES" "BerkeleyDB"
-then
+if [[ $OLD == y ]]; then
+ optional_depends openssl \
+ "--with-openssl" \
+ "--without-openssl" \
+ "for OpenSSL support"
+else
+ optional_depends openssl \
+ "--with-ssl" \
+ "--without-ssl" \
+ "for OpenSSL support"
+fi &&
+
+if ! list_find "$MSQL_ENGINES" "none" && list_find "$MSQL_ENGINES" "BerkeleyDB"; then
depends db "--with-berkeley-db"
fi