summaryrefslogtreecommitdiff
path: root/sysutils/top
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-10-09 13:02:27 +0000
committerobache <obache@pkgsrc.org>2010-10-09 13:02:27 +0000
commited50037f25b97b0c1fc4c6eaedff2b0aa03c74fc (patch)
tree17387e016f37fdad55338a4c6e344167d2180b21 /sysutils/top
parentae096e50eb160fbcb44b585927b43f1acae8c9d1 (diff)
downloadpkgsrc-ed50037f25b97b0c1fc4c6eaedff2b0aa03c74fc.tar.gz
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.
Diffstat (limited to 'sysutils/top')
-rw-r--r--sysutils/top/Makefile6
1 files changed, 5 insertions, 1 deletions
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