dev-db/mysql-connector-c: disable rpm call
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 17 Aug 2019 20:12:00 +0000 (22:12 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 17 Aug 2019 20:13:28 +0000 (22:13 +0200)
Closes: https://bugs.gentoo.org/692368
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r1.ebuild

index 8bde003962a29bbf89c0fd06cb10b2be61dfd8ae..7e8007d8e350db9255fc9aa5d3b13b094cef4b60 100644 (file)
@@ -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