aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-07-26 15:33:51 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2020-10-19 14:12:07 +0200
commita6d3ab8a4d69ec7642937e14acc4d4b739015571 (patch)
tree60095e3ba942bc47a4b6cccf81cb9fc498299776
parent3345fe0b7e2d5aed8d3bb4bad3b2386442a9a50e (diff)
downloadaports-a6d3ab8a4d69ec7642937e14acc4d4b739015571.tar.gz
aports-a6d3ab8a4d69ec7642937e14acc4d4b739015571.tar.bz2
aports-a6d3ab8a4d69ec7642937e14acc4d4b739015571.tar.xz
main/groff: prevent conflict with mandoc-doc
Alternative solution would be to rename these man pages. This can be implemented later if desired, the current approach (i.e. removing conflict man pages) is also taken by other aports (e.g. heirloom-doctools). fixes #8450 (cherry picked from commit 4d714d9b4465fa9203cfc575f7ba34b5e544f433)
-rw-r--r--main/groff/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/groff/APKBUILD b/main/groff/APKBUILD
index 2b6aad06e6..ab059d8859 100644
--- a/main/groff/APKBUILD
+++ b/main/groff/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=groff
pkgver=1.22.4
-pkgrel=0
+pkgrel=1
pkgdesc="GNU troff text-formatting system"
url="https://www.gnu.org/software/groff/groff.html"
arch="all"
@@ -39,6 +39,10 @@ package() {
cat ${srcdir}/site.tmac >> \
${pkgdir}/usr/share/groff/site-tmac/${f}.local
done
+
+ # Prevent conflict with mandoc-doc
+ rm -f "$pkgdir"/usr/share/man/man1/soelim.1 \
+ "$pkgdir"/usr/share/man/man7/roff.7
}
sha512sums="1c42d3cd71efaf067b5850945d9097fa1f0fadd5e2b6ba7446bd9d4f439fe1ad058e4ddb0d4e0f503682137dfc7c822944ce1e3e5cf981673f8ba197ea77126d groff-1.22.4.tar.gz