summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-01-23 13:42:26 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-01-24 08:43:50 +0100
commitfd01e9912c68676109f96a8388c6b52a61f1a571 (patch)
tree76e73f2a74a54da973fec023c1aa28b0cce4db1d /package
parentd6fd46953e4bcf7c701c9cbd4dd880a9fb6a061b (diff)
mariadb needs pcre2, use bundled ssl
Diffstat (limited to 'package')
-rw-r--r--package/mariadb/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/mariadb/Makefile b/package/mariadb/Makefile
index f1100af35..8617f402f 100644
--- a/package/mariadb/Makefile
+++ b/package/mariadb/Makefile
@@ -9,13 +9,13 @@ PKG_RELEASE:= 1
PKG_HASH:= 75bf9b147a95d38160d01a73b098d50a1960563b46d16a235971fff64d99643c
PKG_DESCR:= sql client library
PKG_SECTION:= libs/db
-PKG_DEPENDS:= libncurses zlib libevent libpcre boost
-PKG_BUILDDEP:= cmake-host mariadb-host ncurses zlib readline libevent pcre libressl
-PKG_BUILDDEP+= boost
+PKG_DEPENDS:= libncurses zlib libevent libpcre boost libfmt
+PKG_BUILDDEP:= cmake-host mariadb-host ncurses zlib readline libevent
+PKG_BUILDDEP+= boost fmt gnutls pcre2
HOST_BUILDDEP:= cmake-host
PKG_NEEDS:= c++
PKG_URL:= http://www.mariadb.org/
-PKG_SITES= https://distfiles.openadk.org/
+PKG_SITES= https://downloads.mariadb.org/interstitial/mariadb-$(PKG_VERSION)/source/
PKG_LIBNAME:= libmariadbclient
PKG_OPTS:= dev
@@ -38,8 +38,8 @@ HOST_ALL_TARGET:= import_executables
CONFIG_STYLE:= cmake
CMAKE_FLAGS+= -DCMAKE_CROSSCOMPILING=ON \
-DIMPORT_EXECUTABLES=${BASE_DIR}/host_build_${GNU_HOST_NAME}/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-host/$(PKG_NAME)-$(PKG_VERSION)/import_executables.cmake \
- -DWITH_SSL=system \
-DWITHOUT_SERVER=OFF \
+ -DWITH_SSL=bundled \
-DWITH_SYSTEMD=auto \
-DSECURITY_HARDENED=OFF \
-DWITHOUT_DYNAMIC_PLUGINS=ON \
@@ -63,6 +63,8 @@ libmariadbclient-install:
${INSTALL_DIR} ${IDIR_LIBMARIADBCLIENT}/usr/lib
${CP} ${WRKINST}/usr/lib/libmysqlclient.so* \
${IDIR_LIBMARIADBCLIENT}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libmariadb.so* \
+ ${IDIR_LIBMARIADBCLIENT}/usr/lib
include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk