commit:     27b398e5d35efb196b4145b35e57ae62f26efc0b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 21:55:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 21:56:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b398e5

app-misc/boxes: add libunistring dep; add xxd test dep

Bug: https://github.com/gentoo/gentoo/pull/27804
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/boxes/boxes-2.2.0.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/app-misc/boxes/boxes-2.2.0.ebuild 
b/app-misc/boxes/boxes-2.2.0.ebuild
index bb96df727114..42da13cbe43f 100644
--- a/app-misc/boxes/boxes-2.2.0.ebuild
+++ b/app-misc/boxes/boxes-2.2.0.ebuild
@@ -12,18 +12,25 @@ 
SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
-RDEPEND="dev-libs/libpcre2[pcre32]"
+RDEPEND="
+       dev-libs/libpcre2[pcre32]
+       dev-libs/libunistring:=
+"
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/bison
        sys-devel/flex
+       test? ( app-editors/vim-core )
 "
 
 PATCHES=( "${FILESDIR}/${P}-fix-clang16-build.patch" )
 
 src_prepare() {
        default
+
        sed \
                -e 's:STRIP=true:STRIP=false:g' \
                -i src/Makefile || die

Reply via email to