summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-03-03 14:27:31 +0100
committerUlrich Müller <ulm@gentoo.org>2018-03-03 14:56:19 +0100
commit9bc88de26e6d0c5481c2403ea71a213711382291 (patch)
tree1f29af9eb9204c4d103d53584265967e36f9d9d2 /mail-client/novell-groupwise-client
parentdev-libs/libunistring: Version 0.9.9. (diff)
downloadgentoo-9bc88de26e6d0c5481c2403ea71a213711382291.tar.gz
gentoo-9bc88de26e6d0c5481c2403ea71a213711382291.tar.bz2
gentoo-9bc88de26e6d0c5481c2403ea71a213711382291.zip
mail-client/novell-groupwise-client: Depend on current slot of x11-libs/motif.
To this end, binary patch the soname of needed motif libraries. Closes: https://bugs.gentoo.org/649300 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'mail-client/novell-groupwise-client')
-rw-r--r--mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933-r1.ebuild (renamed from mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild)11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild b/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933-r1.ebuild
index af840dc33034..c89c0c051fbf 100644
--- a/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild
+++ b/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933-r1.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=""
+DEPEND="dev-util/patchelf"
RDEPEND="
sys-libs/libstdc++-v3
>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
@@ -31,7 +31,7 @@ RDEPEND="
>=x11-libs/libXrender-0.9.8[abi_x86_32(-)]
>=x11-libs/libXtst-1.2.2[abi_x86_32(-)]
>=x11-libs/libxcb-1.11-r1[abi_x86_32(-)]
- x11-libs/motif:2.2[abi_x86_32(-)]
+ >=x11-libs/motif-2.3.7:0[abi_x86_32(-),motif22-compatibility]
>=media-libs/alsa-lib-1.0.28[abi_x86_32(-)]
>=media-libs/freetype-2.5.5[abi_x86_32(-)]
"
@@ -48,6 +48,13 @@ src_unpack() {
rpm_unpack ./../gw${MY_PV}_client_linux_multi/${PN}-${MY_PV}.i586.rpm
}
+src_prepare() {
+ # Binary patch soname for Motif
+ cd opt/novell/groupwise/client/lib || die
+ patchelf --replace-needed libXm.so.{3,4} libos_xwin.so || die
+ patchelf --replace-needed libXm.so.{3,4} libsc_xp.so || die
+}
+
src_compile() { :; }
src_install() {