Subject: [alpine-aports] [PATCH] main/sudo: fix installation of man pages

From: Sören Tempel <[email-masked]>
Date: Wed, 23 Sep 2015 21:43:20 +0200

Before this commit man pages where installed to /usr/share/man/cat[0-8]
and didn't use mdoc macros.
---
 main/sudo/APKBUILD | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD
index f94ee5c..3d19c02 100644
--- a/main/sudo/APKBUILD
+++ b/main/sudo/APKBUILD
@@ -7,7 +7,7 @@ if [ "${pkgver%_*}" != "$pkgver" ]; then
 else
 	_realver=$pkgver
 fi
-pkgrel=0
+pkgrel=1
 pkgdesc="Give certain users the ability to run some commands as root"
 url="http://www.sudo.ws/sudo/"
 arch="all"
@@ -39,7 +39,10 @@ build() {
 		--host=$CHOST \
 		--prefix=/usr \
 		--libexecdir=/usr/lib \
+		--mandir=/usr/share/man \
 		--with-env-editor \
+		--with-man \
+		--with-mdoc \
 		--without-pam \
 		--without-skey \
 		--with-passprompt="[sudo] password for %p: " \
-- 
2.5.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---