diff options
Diffstat (limited to 'database/mariadb/DEPENDS')
-rwxr-xr-x | database/mariadb/DEPENDS | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/database/mariadb/DEPENDS b/database/mariadb/DEPENDS index 3387320186..c55b14dd8c 100755 --- a/database/mariadb/DEPENDS +++ b/database/mariadb/DEPENDS @@ -1,20 +1,33 @@ -depends zlib && depends perl && depends procps && depends g++ && -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 && +optional_depends zlib \ + "--with-zlib-dir=$INSTALL_ROOT/" \ + "--with-zlib-dir=bundled" \ + "to use system zlib instead of bundled" && -if ! list_find "$MSQL_ENGINES" "none" && list_find "$MSQL_ENGINES" "BerkeleyDB"; then - depends db "--with-berkeley-db" +optional_depends readline \ + "--without-readline" "" \ + "to use system readline instead of bundled" && + +optional_depends libedit \ + "--without-libedit" "" \ + "to use system libedit instead of bundled" && + +optional_depends openssl \ + "--with-ssl" \ + "--without-ssl" \ + "for OpenSSL support" && + +optional_depends valgrind \ + "--with-valgrind" \ + "--without-valgrind" \ + "for Valgrind instrumentation" && + +if list_find "$MADB_OPTS" "--with-libevent=yes"; then + optional_depends libevent \ + "--with-libevent=$INSTALL_ROOT/usr" \ + "--with-libevent=bundled" \ + "to use system libevent instead of bundled" fi |