commit:     caee0cc22d76df22d05a2ec6ab3beb2afea88403
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Thu Apr 15 23:46:05 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 04:46:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caee0cc2

games-board/xgammon: revbump for x11-terms/kterm collision fix

Like kterm, this too creates an unneeded symlink, removed to be safe
on top of blocker.

Bug: https://bugs.gentoo.org/668892
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../xgammon/{xgammon-0.98-r2.ebuild => xgammon-0.98-r3.ebuild}   | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/games-board/xgammon/xgammon-0.98-r2.ebuild 
b/games-board/xgammon/xgammon-0.98-r3.ebuild
similarity index 86%
rename from games-board/xgammon/xgammon-0.98-r2.ebuild
rename to games-board/xgammon/xgammon-0.98-r3.ebuild
index f06e57934f4..6b1305059c6 100644
--- a/games-board/xgammon/xgammon-0.98-r2.ebuild
+++ b/games-board/xgammon/xgammon-0.98-r3.ebuild
@@ -16,7 +16,8 @@ KEYWORDS="~amd64 ~x86"
 RDEPEND="
        x11-libs/libX11
        x11-libs/libXaw
-       x11-libs/libXt"
+       x11-libs/libXt
+       !<x11-terms/kterm-6.2.0-r7"
 DEPEND="${RDEPEND}"
 BDEPEND="
        app-text/rman
@@ -43,6 +44,12 @@ src_compile() {
                CC="$(tc-getCC)"
 }
 
+src_install() {
+       default
+       # remove link to avoid collision (bug #668892)
+       rm "${ED}"/usr/$(get_libdir)/X11/app-defaults || die
+}
+
 pkg_postinst() {
        einfo "xgammon need helvetica fonts"
        einfo "They can be loaded emerging media-fonts/font-adobe-100dpi"

Reply via email to