diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-06-06 19:35:37 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-06-06 19:36:06 +0300 |
commit | a0615eb3242d0bea42719bea4f34fbcb75a14af5 (patch) | |
tree | c5569880600427fb2a66222abc275101e9792881 /app-editors/vis | |
parent | app-editors/vis: Add -fcommon (diff) | |
download | gentoo-a0615eb3242d0bea42719bea4f34fbcb75a14af5.tar.gz gentoo-a0615eb3242d0bea42719bea4f34fbcb75a14af5.tar.bz2 gentoo-a0615eb3242d0bea42719bea4f34fbcb75a14af5.zip |
app-editors/vis: Respect CC and CFLAGS in tests
Closes: https://bugs.gentoo.org/722014
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors/vis')
-rw-r--r-- | app-editors/vis/vis-0.5.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app-editors/vis/vis-0.5.ebuild b/app-editors/vis/vis-0.5.ebuild index ffaeafaa2664..88943eb150e4 100644 --- a/app-editors/vis/vis-0.5.ebuild +++ b/app-editors/vis/vis-0.5.ebuild @@ -34,6 +34,9 @@ src_prepare() { 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 + sed -i 's|STRIP?=.*|STRIP=true|' Makefile || die sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die sed -i 's|DOCUMENTATION = LICENSE|DOCUMENTATION =|' Makefile || die |