aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-07-26 15:33:51 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2020-07-26 15:41:14 +0200
commit4d714d9b4465fa9203cfc575f7ba34b5e544f433 (patch)
treecaa02e718f68041ab16082656a31a7124d96856b
parentecc738b99e65af49b952519de04bb5646bc0c015 (diff)
downloadaports-4d714d9b4465fa9203cfc575f7ba34b5e544f433.tar.gz
aports-4d714d9b4465fa9203cfc575f7ba34b5e544f433.tar.bz2
aports-4d714d9b4465fa9203cfc575f7ba34b5e544f433.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).
-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