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
+++ /dev/null
-capstone-sync does not work correctly for release tarballs.
-It tries to sync/revert from upstream git repo unconditionaly.
-diff --git a/shlr/Makefile b/shlr/Makefile
-index a1796ce..f8d179a 100644
---- a/shlr/Makefile
-+++ b/shlr/Makefile
-@@ -144,5 +144,5 @@ else
-
- ifeq ($(CS_TAR),)
--capstone: capstone-sync
-+capstone: # capstone-sync
-
- capstone-sync:
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() {
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"