app-admin/rsyslog: Adjust sub-SLOT dependency
authorThomas Deutschmann <whissi@whissi.de>
Sat, 11 Jun 2016 23:47:31 +0000 (01:47 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 12 Jun 2016 17:24:16 +0000 (17:24 +0000)
This commit also re-apply changes from the previous reverted
commit 663fd153682eb51e2a89e87b52d9a3f25f28f742:

The ebuild inherits linux-info eclass which already inherit
eutils eclass so we can use prune_libtool_files helper.

Package-Manager: portage-2.3.0_rc1
Closes: https://github.com/gentoo/gentoo/pull/1659

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
app-admin/rsyslog/rsyslog-8.18.0.ebuild

index 5e00e6bf96bac7f18f91b4235c38210e6a5c61f3..3b0302eaef75b18c7769d8d2dadf7bb0a7b92bd9 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit autotools linux-info systemd
+inherit autotools eutils linux-info systemd
 
 DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
 HOMEPAGE="http://www.rsyslog.com/"
@@ -81,7 +81,7 @@ RDEPEND="
        omhttpfs? ( >=net-misc/curl-7.35.0 )
        omudpspoof? ( >=net-libs/libnet-1.1.6 )
        postgres? ( >=dev-db/postgresql-8.4.20:= )
-       rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 )
+       rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
        redis? ( >=dev-libs/hiredis-0.11.0 )
        relp? ( >=dev-libs/librelp-1.2.5:= )
        rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
@@ -319,7 +319,7 @@ src_install() {
                doins plugins/ompgsql/createDB.sql
        fi
 
-       find "${ED}"usr/lib* -name '*.la' -delete || die
+       prune_libtool_files --modules
 }
 
 pkg_postinst() {