dev-db/sqlite: Fix building when using non-full tarball.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Thu, 28 Sep 2017 21:31:10 +0000 (23:31 +0200)
committerMike Gilbert <floppym@gentoo.org>
Thu, 28 Sep 2017 21:36:10 +0000 (17:36 -0400)
Closes: https://bugs.gentoo.org/632307

dev-db/sqlite/sqlite-3.20.1-r1.ebuild

index 6b547ffb208d547b790268ec143440859944550f..9cfbda6afa2909d8f8b6111f0bc7838b8954b4dd 100644 (file)
@@ -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