Sat Jan 9 13:16:41 2016 UTC ()
Use our exampledir; configure uses different directories for different OSes.


(adam)
diff -r1.149 -r1.150 pkgsrc/security/sudo/Makefile

cvs diff -r1.149 -r1.150 pkgsrc/security/sudo/Makefile (expand / switch to unified diff)

--- pkgsrc/security/sudo/Makefile 2016/01/09 11:22:12 1.149
+++ pkgsrc/security/sudo/Makefile 2016/01/09 13:16:41 1.150
@@ -1,33 +1,34 @@ @@ -1,33 +1,34 @@
1# $NetBSD: Makefile,v 1.149 2016/01/09 11:22:12 adam Exp $ 1# $NetBSD: Makefile,v 1.150 2016/01/09 13:16:41 adam Exp $
2 2
3DISTNAME= sudo-1.8.15 3DISTNAME= sudo-1.8.15
4CATEGORIES= security 4CATEGORIES= security
5MASTER_SITES= http://www.sudo.ws/dist/ \ 5MASTER_SITES= http://www.sudo.ws/dist/ \
6 ftp://ftp.sudo.ws/pub/sudo/ \ 6 ftp://ftp.sudo.ws/pub/sudo/ \
7 ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \ 7 ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \
8 ftp://ftp.twaren.net/Unix/Security/Sudo/ \ 8 ftp://ftp.twaren.net/Unix/Security/Sudo/ \
9 http://ftp.tux.org/pub/security/sudo/ 9 http://ftp.tux.org/pub/security/sudo/
10 10
11MAINTAINER= kim@tac.nyc.ny.us 11MAINTAINER= kim@tac.nyc.ny.us
12HOMEPAGE= http://www.sudo.ws/ 12HOMEPAGE= http://www.sudo.ws/
13COMMENT= Allow others to run commands as root 13COMMENT= Allow others to run commands as root
14LICENSE= isc AND modified-bsd 14LICENSE= isc AND modified-bsd
15 15
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
18CONFIGURE_ARGS+= --disable-path-info 18CONFIGURE_ARGS+= --disable-path-info
19CONFIGURE_ARGS+= --disable-root-mailer 19CONFIGURE_ARGS+= --disable-root-mailer
20CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 20CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
 21CONFIGURE_ARGS+= --with-exampledir=${PREFIX}/${EGDIR}
21CONFIGURE_ARGS+= --with-ignore-dot 22CONFIGURE_ARGS+= --with-ignore-dot
22CONFIGURE_ARGS+= --with-nbsdops 23CONFIGURE_ARGS+= --with-nbsdops
23CONFIGURE_ARGS+= --libexecdir=${PREFIX}/lib # for a bunch of shared libs 24CONFIGURE_ARGS+= --libexecdir=${PREFIX}/lib # for a bunch of shared libs
24CONFIGURE_ARGS+= --with-rundir=${VARBASE}/run/sudo 25CONFIGURE_ARGS+= --with-rundir=${VARBASE}/run/sudo
25CONFIGURE_ARGS+= --with-logpath=${VARBASE}/log/sudo.log 26CONFIGURE_ARGS+= --with-logpath=${VARBASE}/log/sudo.log
26# to always install man instead of cat 27# to always install man instead of cat
27CONFIGURE_ENV+= NROFFPROG=${CAT:Q} 28CONFIGURE_ENV+= NROFFPROG=${CAT:Q}
28CONFIGURE_ENV+= mansectsu=8 29CONFIGURE_ENV+= mansectsu=8
29CONFIGURE_ENV+= mansectform=5 30CONFIGURE_ENV+= mansectform=5
30 31
31.include "../../mk/bsd.prefs.mk" 32.include "../../mk/bsd.prefs.mk"
32 33
33.if ${OPSYS} == "Darwin" 34.if ${OPSYS} == "Darwin"