net-libs/xrootd: fix bug 603016
authorAndrew Savchenko <bircoph@gentoo.org>
Fri, 30 Dec 2016 15:32:06 +0000 (18:32 +0300)
committerAndrew Savchenko <bircoph@gentoo.org>
Fri, 30 Dec 2016 15:32:19 +0000 (18:32 +0300)
As explained[1] by upstream libXrd.*-4.so files are xrootd plugins
which are not supposed to be linked directly with, so adding
QA_SONAME_NO_SYMLINK exception for them.

[1] https://github.com/xrootd/xrootd/issues/447

Package-Manager: portage-2.3.3
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
net-libs/xrootd/xrootd-4.4.0.ebuild
net-libs/xrootd/xrootd-4.5.0.ebuild

index d664ec87f4d7b8a24ca1d253c218b678f07fa21c..bae1b0a338b055c79e06cf30b20491e0efa75a43 100644 (file)
@@ -29,6 +29,11 @@ DEPEND="${RDEPEND}
 REQUIRED_USE="http? ( kerberos ssl )"
 PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch )
 
+# xrootd plugins are not intended to be linked with,
+# they are to be loaded at runtime by xrootd,
+# see https://github.com/xrootd/xrootd/issues/447
+QA_SONAME_NO_SYMLINK="/usr/lib.*/libXrd*-4.so"
+
 pkg_setup() {
        enewgroup xrootd
        enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd
index c48d44fc0e113071065ce750e74e247e9ebe4d1d..d60b54e90a80562eaccc861832b3e5d50ba380df 100644 (file)
@@ -43,6 +43,11 @@ REQUIRED_USE="
 "
 PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch )
 
+# xrootd plugins are not intended to be linked with,
+# they are to be loaded at runtime by xrootd,
+# see https://github.com/xrootd/xrootd/issues/447
+QA_SONAME_NO_SYMLINK="/usr/lib.*/libXrd*-4.so"
+
 pkg_setup() {
        enewgroup xrootd
        enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd