Skip to content

Commit

Permalink
dev-util/radare2: drop USE=-system-capstone
Browse files Browse the repository at this point in the history
Enable system capstone unconditionally for releases.
radare2 does not ship bundled capstone in 2.5.0.

Reported-by: Michael Palimaka (kensington)
Closes: https://bugs.gentoo.org/645552
Package-Manager: Portage-2.3.31, Repoman-2.3.9
  • Loading branch information
Sergei Trofimovich committed Apr 28, 2018
1 parent 4012abe commit c6ead6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
13 changes: 0 additions & 13 deletions dev-util/radare2/files/radare2-0.9.9-nogit.patch

This file was deleted.

8 changes: 4 additions & 4 deletions dev-util/radare2/radare2-2.5.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="ssl libressl +system-capstone"
IUSE="ssl libressl"

RDEPEND="
dev-libs/capstone:0=
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)
system-capstone? ( dev-libs/capstone:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"

src_configure() {
econf \
$(use_with ssl openssl) \
$(use_with system-capstone syscapstone)
--with-syscapstone \
$(use_with ssl openssl)
}

src_install() {
Expand Down
1 change: 0 additions & 1 deletion dev-util/radare2/radare2-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ if [[ ${PV} == *9999 ]]; then
else
SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
PATCHES=( "${FILESDIR}"/${PN}-0.9.9-nogit.patch )
fi

LICENSE="GPL-2"
Expand Down

0 comments on commit c6ead6e

Please sign in to comment.