diff options
Diffstat (limited to 'net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild')
-rw-r--r-- | net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild b/net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild index 1717cfd3..b5e277db 100644 --- a/net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild +++ b/net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild @@ -159,7 +159,8 @@ multilib_src_install() { # Workaround for avahi-ui.h collision between avahi-gtk and avahi-gtk3 root_avahi_ui="${ROOT}usr/include/avahi-ui/avahi-ui.h" if [ -e "${root_avahi_ui}" ]; then - rm -f "${D}usr/include/avahi-ui/avahi-ui.h" + rm -f "${D}/usr/include/avahi-ui/avahi-ui.h" + rm -f "${ED}/usr/include/avahi-ui/avahi-ui.h" fi # provided by avahi-gtk3 @@ -169,6 +170,11 @@ multilib_src_install() { rm "${D}"usr/share/applications/bssh.desktop || die rm "${D}"usr/share/applications/bvnc.desktop || die fi + + if [ -e "${root_avahi_ui}" ]; then + rm -f "${ED}/usr/include/avahi-ui/avahi-ui.h" + rm -f "${D}/usr/include/avahi-ui/avahi-ui.h" + fi } multilib_src_install_all() { |