From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-963854-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9739139694 for <garchives@archives.gentoo.org>; Fri, 28 Jul 2017 01:01:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA68C1FC00D; Fri, 28 Jul 2017 01:01:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6EDC1FC00D for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2017 01:01:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D9DC34197E for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2017 01:01:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB41774C3 for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2017 01:01:49 +0000 (UTC) From: "Brian Evans" <grknight@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" <grknight@gentoo.org> Message-ID: <1501203698.5ce372bc76f3f0b3995b584a38b9b8247070ad07.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mariadb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mariadb/mariadb-10.2.7-r1.ebuild X-VCS-Directories: dev-db/mariadb/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 5ce372bc76f3f0b3995b584a38b9b8247070ad07 X-VCS-Branch: master Date: Fri, 28 Jul 2017 01:01:49 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c2e66f23-5ffa-4fc8-abfa-0d3d6664a4c0 X-Archives-Hash: 662dc796ec9ea94e628a5871e825625e commit: 5ce372bc76f3f0b3995b584a38b9b8247070ad07 Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Fri Jul 28 01:01:38 2017 +0000 Commit: Brian Evans <grknight <AT> gentoo <DOT> org> CommitDate: Fri Jul 28 01:01:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce372bc dev-db/mariadb: Reorganize configure options and remove redundant doc install in pkg_postinst Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-db/mariadb/mariadb-10.2.7-r1.ebuild | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/dev-db/mariadb/mariadb-10.2.7-r1.ebuild b/dev-db/mariadb/mariadb-10.2.7-r1.ebuild index 2cfec9966ae..070fae5e766 100644 --- a/dev-db/mariadb/mariadb-10.2.7-r1.ebuild +++ b/dev-db/mariadb/mariadb-10.2.7-r1.ebuild @@ -200,16 +200,6 @@ pkg_postinst() { # Minimal builds don't have the MySQL server if use server ; then - docinto "support-files" - dodoc support-files/magic - - docinto "scripts" - for script in scripts/mysql* ; do - if [[ -f "${script}" && "${script%.sh}" == "${script}" ]]; then - dodoc "${script}" - fi - done - if use pam; then einfo elog "This install includes the PAM authentication plugin." @@ -361,10 +351,6 @@ multilib_src_configure() { mycmakeargs+=( -DWITH_SSL=bundled ) fi - if ! multilib_is_native_abi ; then - mycmakeargs+=( -DWITHOUT_TOOLS=1 ) - fi - # bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION if multilib_is_native_abi; then mycmakeargs+=( @@ -373,6 +359,7 @@ multilib_src_configure() { ) else mycmakeargs+=( + -DWITHOUT_TOOLS=1 -DWITH_READLINE=1 -DNOT_FOR_DISTRIBUTION=0 ) @@ -413,15 +400,14 @@ multilib_src_configure() { -DWITH_LIBARCHIVE=$(usex backup ON OFF) -DINSTALL_SQLBENCHDIR=share/mariadb -DPLUGIN_ROCKSDB=$(usex rocksdb DYNAMIC NO) + # systemd is only linked to for server notification + -DWITH_SYSTEMD=$(usex systemd) ) if use test ; then # This is needed for the new client lib which tests a real, open server mycmakeargs+=( -DSKIP_TESTS=ON ) fi - # systemd is only linked to for server notification - mycmakeargs+=( -DWITH_SYSTEMD=$(usex systemd) ) - if [[ ( -n ${MYSQL_DEFAULT_CHARSET} ) && ( -n ${MYSQL_DEFAULT_COLLATION} ) ]]; then ewarn "You are using a custom charset of ${MYSQL_DEFAULT_CHARSET}" ewarn "and a collation of ${MYSQL_DEFAULT_COLLATION}." @@ -715,10 +701,10 @@ multilib_src_test() { export MTR_PARALLEL="${MTR_PARALLEL:-auto}" # create directories because mysqladmin might run out of order - mkdir -p "${T}"/var-tests{,/log} + mkdir -p "${T}"/var-tests{,/log} || die # Run mysql tests - pushd "${TESTDIR}" || die + pushd "${TESTDIR}" > /dev/null || die # These are failing in MariaDB 10.0 for now and are believed to be # false positives: @@ -741,7 +727,7 @@ multilib_src_test() { perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder retstatus_tests=$? - popd || die + popd > /dev/null || die # Cleanup is important for these testcases. pkill -9 -f "${S}/ndb" 2>/dev/null @@ -751,7 +737,7 @@ multilib_src_test() { [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" - [[ -z "$failures" ]] || eerror "Test failures: $failures" + [[ -z "$failures" ]] || die "Test failures: $failures" einfo "Tests successfully completed" }