diff options
Diffstat (limited to 'dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r1.ebuild')
-rw-r--r-- | dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r1.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r1.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r1.ebuild index 667251898c9d..c99bb77dd8a1 100644 --- a/dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r1.ebuild +++ b/dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r1.ebuild @@ -13,18 +13,16 @@ HOMEPAGE="https://dev.mysql.com/downloads/" LICENSE="GPL-2" SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-${PV}.tar.gz" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" SLOT="0/21" -IUSE="ldap libressl +ssl static-libs" +IUSE="ldap libressl static-libs" RDEPEND=" sys-libs/zlib:=[${MULTILIB_USEDEP}] ldap? ( dev-libs/cyrus-sasl:=[${MULTILIB_USEDEP}] ) - ssl? ( - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) - ) + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND}" @@ -37,7 +35,8 @@ PATCHES=( "${FILESDIR}"/${PN}-8.0.17-libressl.patch ) src_prepare() { sed -i -e 's/CLIENT_LIBS/CONFIG_CLIENT_LIBS/' "${S}/scripts/CMakeLists.txt" || die - # All these are for the server only + # All these are for the server only. + # Disable rpm call which would trigger sandbox, #692368 sed -i \ -e '/MYSQL_CHECK_LIBEVENT/d' \ -e '/MYSQL_CHECK_RAPIDJSON/d' \ @@ -49,6 +48,7 @@ src_prepare() { -e '/ADD_SUBDIRECTORY(man)/d' \ -e '/ADD_SUBDIRECTORY(share)/d' \ -e '/INCLUDE(cmake\/boost/d' \ + -e 's/MY_RPM rpm/MY_RPM rpmNOTEXISTENT/' \ CMakeLists.txt || die # Skip building clients @@ -72,7 +72,8 @@ multilib_src_configure() { -DENABLED_LOCAL_INFILE=ON -DMYSQL_UNIX_ADDR="${EPREFIX}/run/mysqld/mysqld.sock" -DWITH_ZLIB=system - -DWITH_SSL=$(usex ssl system wolfssl) + -DWITH_SSL=system + -DWITH_NUMA=OFF -DLIBMYSQL_OS_OUTPUT_NAME=mysqlclient -DSHARED_LIB_PATCH_VERSION="0" -DCMAKE_POSITION_INDEPENDENT_CODE=ON |