summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-libs/wxGTK/wxGTK-3.0.4-r303.ebuild3
-rw-r--r--x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r303.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r303.ebuild
index 65d027d2d111..2259503a09b8 100644
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r303.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.0.4-r303.ebuild
@@ -144,7 +144,8 @@ multilib_src_install_all() {
rm -f "${ED}"/usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo || die
# Unversioned links
- rm "${ED}"/usr/bin/wx{-config,rc} || die
+ rm "${ED}"/usr/bin/wx-config || die
+ use X && { rm "${ED}"/usr/bin/wxrc || die; }
# version bakefile presets
pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
diff --git a/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild
index e43f2597c1a0..752bedf56e7a 100644
--- a/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild
@@ -144,7 +144,8 @@ multilib_src_install_all() {
rm -f "${ED}"/usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo || die
# Unversioned links
- rm "${ED}"/usr/bin/wx{-config,rc} || die
+ rm "${ED}"/usr/bin/wx-config || die
+ use X && { rm "${ED}"/usr/bin/wxrc || die; }
# version bakefile presets
pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die