Mail archive
alpine-aports

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

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
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
_at_@ -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"
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Sep 23 2015 - 21:43:20 GMT