From: Ian Delaney Date: Fri, 4 Sep 2015 06:18:30 +0000 (+0800) Subject: app-i18n/man-pages-pl-0.6: fix file collisions with sys-apps/shadow-4.2.1-r1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4250008b825166d449d66e2df174a7364db0d4a2;p=gentoo.git app-i18n/man-pages-pl-0.6: fix file collisions with sys-apps/shadow-4.2.1-r1 patch submitted by Marek Paśnikowski, endorsed by maintainer with user patch support added, fixes Bugs #557372 #558542 Package-Manager: portage-2.2.20 --- diff --git a/app-i18n/man-pages-pl/man-pages-pl-0.6.ebuild b/app-i18n/man-pages-pl/man-pages-pl-0.6.ebuild index 64c861ba5fcb..e2444ec2a178 100644 --- a/app-i18n/man-pages-pl/man-pages-pl-0.6.ebuild +++ b/app-i18n/man-pages-pl/man-pages-pl-0.6.ebuild @@ -17,4 +17,12 @@ DOCS=( AUTHORS README ) S="${WORKDIR}/manpages-pl-${PV}" -RDEPEND="virtual/man" +src_prepare() { + epatch_user + #mans provided by other packages + mans="generated/man1/groups.1 po/man1/groups.1.po" + + for man in ${mans}; do + rm ${man} || die + done +}