summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-08-17 22:12:00 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-08-17 22:13:28 +0200
commit1f7a0d904e874542e2423c2ea4e214557ba6078d (patch)
tree6fe44beeb4fddf57bb762dc7545d1b30f8f0f49e /dev-db/mysql-connector-c
parentprofiles/package.mask: update message (diff)
downloadgentoo-1f7a0d904e874542e2423c2ea4e214557ba6078d.tar.gz
gentoo-1f7a0d904e874542e2423c2ea4e214557ba6078d.tar.bz2
gentoo-1f7a0d904e874542e2423c2ea4e214557ba6078d.zip
dev-db/mysql-connector-c: disable rpm call
Closes: https://bugs.gentoo.org/692368 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/mysql-connector-c')
-rw-r--r--dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r1.ebuild4
1 files changed, 3 insertions, 1 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 8bde003962a2..7e8007d8e350 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
@@ -37,7 +37,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 +50,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