From 0f174889bc8a7c774b481493a51d8336ee900b25 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 9 Oct 2010 13:02:27 +0000 Subject: pass OWNER/GROUP/MODE to configure script for unprivileged installation, and avoid setgid kmem on NetBSD with privileged installation. XXX: if certain owner/group/mode for executable are really required on sertain XXX: platforms, set SPECIAL_PERMS individually. --- sysutils/top/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sysutils/top/Makefile b/sysutils/top/Makefile index d04b80ecaed..74c12e9dfda 100644 --- a/sysutils/top/Makefile +++ b/sysutils/top/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2008/04/06 12:21:05 heinz Exp $ +# $NetBSD: Makefile,v 1.36 2010/10/09 13:02:27 obache Exp $ DISTNAME= top-3.6.1 CATEGORIES= sysutils @@ -12,6 +12,10 @@ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes +CONFIGURE_ENV+= SET_OWNER=${BINOWN} +CONFIGURE_ENV+= SET_GROUP=${BINGRP} +CONFIGURE_ENV+= SET_MODE=${BINMODE} + post-extract: ${CP} ${FILESDIR}/m_dragonfly.c ${WRKSRC}/machine -- cgit v1.2.3