dev-db/mysql: don't install man pages installed by mysql-connector-c
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 2 Aug 2019 16:45:59 +0000 (18:45 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 2 Aug 2019 16:56:19 +0000 (18:56 +0200)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-db/mysql/mysql-5.6.45.ebuild
dev-db/mysql/mysql-5.7.27.ebuild

index 6801847b24102bbf76662e1fbf919df38e26cee7..5526aadc972722e151d815c9d52da2222de131b5 100644 (file)
@@ -196,6 +196,13 @@ src_prepare() {
                echo > "${S}/support-files/SELinux/CMakeLists.txt" || die
        fi
 
+       # Don't clash with dev-db/mysql-connector-c
+       rm \
+               man/my_print_defaults.1 \
+               man/perror.1 \
+               man/zlib_decompress.1 \
+               || die
+
        if use libressl ; then
                sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \
                        "${S}/cmake/ssl.cmake" || die
index ded6636a984f2102b62ca61c266ad7cc5c5a97c9..51372d0a361f1ecdffadc7824516569402791012 100644 (file)
@@ -296,6 +296,14 @@ src_prepare() {
                "${S}"/zlib \
                || die
 
+       # Don't clash with dev-db/mysql-connector-c
+       rm \
+               man/my_print_defaults.1 \
+               man/perror.1 \
+               man/zlib_decompress.1 \
+               || die
+
+
        if use libressl ; then
                sed -i 's/OPENSSL_MAJOR_VERSION STREQUAL "1"/OPENSSL_MAJOR_VERSION STREQUAL "2"/' \
                        "${S}/cmake/ssl.cmake" || die