summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-06-07 09:34:16 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-06-07 09:34:40 +0300
commit856281831fe56dc0a7dc75fd48c73dcb7d5cafc2 (patch)
treefb0c40bb0434620b8a590132b008836763be8627 /app-editors
parentapp-text/ttf2pk2: remove unused patch(es) (diff)
downloadgentoo-856281831fe56dc0a7dc75fd48c73dcb7d5cafc2.tar.gz
gentoo-856281831fe56dc0a7dc75fd48c73dcb7d5cafc2.tar.bz2
gentoo-856281831fe56dc0a7dc75fd48c73dcb7d5cafc2.zip
app-editors/vis: Fix sed with FEATURES=-test
Closes: https://bugs.gentoo.org/727348 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/vis/vis-0.5.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-editors/vis/vis-0.5.ebuild b/app-editors/vis/vis-0.5.ebuild
index 88943eb150e4..e7cf08742d4e 100644
--- a/app-editors/vis/vis-0.5.ebuild
+++ b/app-editors/vis/vis-0.5.ebuild
@@ -32,10 +32,10 @@ src_prepare() {
if ! type -P vim &>/dev/null; then
sed -i 's/.*vim.*//' test/Makefile || die
fi
- fi
- # https://bugs.gentoo.org/722014 https://github.com/martanne/vis-test/pull/22
- sed -i 's;./ccan-config > config.h;./ccan-config "${CC}" ${CFLAGS} > config.h;' test/core/Makefile || die
+ # https://bugs.gentoo.org/722014 https://github.com/martanne/vis-test/pull/22
+ sed -i 's;./ccan-config > config.h;./ccan-config "${CC}" ${CFLAGS} > config.h;' test/core/Makefile || die
+ fi
sed -i 's|STRIP?=.*|STRIP=true|' Makefile || die
sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die