Subject: [alpine-aports] [PATCH] main/sudo: cleanup configure options

From: Sören Tempel <[email-masked]>
Date: Mon, 9 Nov 2015 11:10:24 +0100

Don't use both --with-man and --with-mdoc since they both set different
mantypes. We only need --with-mdoc in order to use the mdoc mantype.

Furthermore explicitly enable PIE support and explicitly disable NLS
support.
---
 main/sudo/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD
index c9850e4..b55f032 100644
--- a/main/sudo/APKBUILD
+++ b/main/sudo/APKBUILD
@@ -1,3 +1,4 @@
+# Contributor: Sören Tempel <[email-masked]>
 # Contributor: Łukasz Jendrysik <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=sudo
@@ -7,7 +8,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"
@@ -40,8 +41,9 @@ build() {
 		--prefix=/usr \
 		--libexecdir=/usr/lib \
 		--mandir=/usr/share/man \
+		--disable-nls \
+		--enable-pie \
 		--with-env-editor \
-		--with-man \
 		--with-mdoc \
 		--without-pam \
 		--without-skey \
-- 
2.6.1

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