Mail archive
alpine-aports

[alpine-aports] [PATCH] main/mdocml: force symbolic links instead of hard

From: Isaac Dunham <ibid.ag_at_gmail.com>
Date: Fri, 4 Mar 2016 23:17:46 -0800

---
 main/mdocml/APKBUILD | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/main/mdocml/APKBUILD b/main/mdocml/APKBUILD
index 95ef844..096b570 100644
--- a/main/mdocml/APKBUILD
+++ b/main/mdocml/APKBUILD
_at_@ -1,7 +1,7 @@
 # Maintainer:  Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=mdocml
 pkgver=1.13.3
-pkgrel=5
+pkgrel=6
 pkgdesc="mdoc/man compiler"
 url="http://mdocml.bsd.lv/"
 arch="all"
_at_@ -45,6 +45,11 @@ package() {
 	cd "$_builddir"
 	make -j1 DESTDIR="$pkgdir" base-install db-install || return 1
 	install -Dm644 "$srcdir"/man.conf "$pkgdir"/etc/man.conf || return 1
+	for X in usr/bin/apropos usr/bin/whatis usr/bin/man usr/sbin/makewhatis
+		do
+			rm -f "$pkgdir/$X" || return 1
+			ln -s /usr/bin/mandoc "$pkgdir/$X" || return 1
+		done
 }
 
 man() {
-- 
2.7.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Mar 04 2016 - 23:17:46 GMT