dev-libs/tre: add blocker on dev-ruby/amatch.
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 1 Aug 2017 20:49:31 +0000 (22:49 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 1 Aug 2017 20:50:49 +0000 (22:50 +0200)
Gentoo-Bug: https://bugs.gentoo.org/626480

Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-libs/tre/tre-0.8.0-r1.ebuild

index 4f56e131c36f777c1407b11913c9fffaf1061f4e..de7f289bd58632661f256a14e7152f8011d1c8bf 100644 (file)
@@ -15,16 +15,19 @@ KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-
 IUSE="nls static-libs"
 
 RDEPEND="
-       !app-misc/glimpse
-       !app-text/agrep"
-DEPEND="${RDEPEND}
+       !app-text/agrep
+       !dev-ruby/amatch
+       !app-misc/glimpse"
+
+DEPEND="
+       ${RDEPEND}
        virtual/pkgconfig
        nls? ( sys-devel/gettext )"
 
+PATCHES=( "${FILESDIR}/${PV}-pkgcfg.patch" )
+
 src_prepare() {
-       eapply \
-               "${FILESDIR}"/${PV}-pkgcfg.patch
-       eapply_user
+       default
 }
 
 src_configure() {
@@ -47,8 +50,10 @@ src_test() {
 
 src_install() {
        local HTML_DOCS=( doc/*.{css,html} )
+
        default
 
+       # 626480
        mv "${ED%/}"/usr/bin/agrep{,-tre}$(get_exeext) || die
 }