commit:     19acf569b924e255ca66a6485d0d60982fadd941
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 14:00:00 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 14:02:02 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19acf569

dev-libs/libclsync: remove dependency on app-admin/clsync

It is rare, but still valid use case to use libclsync when clsync
is not installed on the host (or lacks socket control support):
socket can be passed from another host/container via shared file
system, or can be converted to udp using socat.

Package-Manager: portage-2.3.1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 dev-libs/libclsync/libclsync-0.4.2.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libclsync/libclsync-0.4.2.ebuild 
b/dev-libs/libclsync/libclsync-0.4.2.ebuild
index 094b8d9..2184de4 100644
--- a/dev-libs/libclsync/libclsync-0.4.2.ebuild
+++ b/dev-libs/libclsync/libclsync-0.4.2.ebuild
@@ -24,9 +24,7 @@ REQUIRED_USE="
 "
 
 DEPEND="virtual/pkgconfig"
-RDEPEND="
-       =app-admin/clsync-0.4*[control-socket]
-       =app-doc/clsync-docs-0.4*"
+RDEPEND="=app-doc/clsync-docs-0.4*"
 
 src_prepare() {
        eapply_user
@@ -70,3 +68,8 @@ src_install() {
        # docs go into clsync-docs
        rm -rf "${ED}/usr/share/doc" || die
 }
+
+pkg_postinst() {
+       einfo "clsync instances you are going to use _must_ be compiled"
+       einfo "with control-socket support"
+}

Reply via email to