diff options
Diffstat (limited to 'security/nessus-plugins/Makefile')
-rw-r--r-- | security/nessus-plugins/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/nessus-plugins/Makefile b/security/nessus-plugins/Makefile index e32d668549f..dc19e24e7f8 100644 --- a/security/nessus-plugins/Makefile +++ b/security/nessus-plugins/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2006/04/25 12:45:57 salo Exp $ +# $NetBSD: Makefile,v 1.31 2006/07/02 17:20:17 rillig Exp $ .include "../../security/nessus/Makefile.common" @@ -30,5 +30,11 @@ post-install: cd ${PREFIX} && \ ${FIND} lib/nessus/plugins -type f -print >>${WRKDIR}/PLIST +.include "../../mk/bsd.prefs.mk" + +.if !empty(UNPRIVILEGED:M[Yy][Ee][Ss]) +CONFIGURE_ARGS+= --enable-install=${ROOT_USER} +.endif + .include "../../security/nessus-core/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |