commit:     f1c51effa38518bedeb5bee944dd5c80c3b43704
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Thu Sep 28 21:31:10 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Sep 28 21:36:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c51eff

dev-db/sqlite: Fix building when using non-full tarball.

Closes: https://bugs.gentoo.org/632307

 dev-db/sqlite/sqlite-3.20.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/sqlite/sqlite-3.20.1-r1.ebuild 
b/dev-db/sqlite/sqlite-3.20.1-r1.ebuild
index 6b547ffb208..9cfbda6afa2 100644
--- a/dev-db/sqlite/sqlite-3.20.1-r1.ebuild
+++ b/dev-db/sqlite/sqlite-3.20.1-r1.ebuild
@@ -78,7 +78,7 @@ src_prepare() {
        preparation() {
                pushd "${BUILD_DIR}" > /dev/null || die
 
-               if [[ "${ABI}" == "x86" ]]; then
+               if full_tarball && [[ "${ABI}" == "x86" ]]; then
                        # Disable tests broken on x86.
                        sed -e "/^for {set i 0} {\$i<1000} {incr i} {$/,/^}$/d" 
-i test/date.test || die "sed failed"
                fi

Reply via email to