From 4250008b825166d449d66e2df174a7364db0d4a2 Mon Sep 17 00:00:00 2001 From: Ian Delaney Date: Fri, 4 Sep 2015 14:18:30 +0800 Subject: [PATCH] app-i18n/man-pages-pl-0.6: fix file collisions with sys-apps/shadow-4.2.1-r1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit patch submitted by Marek Paśnikowski, endorsed by maintainer with user patch support added, fixes Bugs #557372 #558542 Package-Manager: portage-2.2.20 --- app-i18n/man-pages-pl/man-pages-pl-0.6.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 +} -- 2.26.2