summaryrefslogtreecommitdiff
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
commit33dbca9ec17604a0183eb12e704df1bcef222f3e (patch)
tree17387e016f37fdad55338a4c6e344167d2180b21
parent36e5cc6b5c94765689269d3bb14262c7ed451809 (diff)
downloadpkgsrc-33dbca9ec17604a0183eb12e704df1bcef222f3e.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.
-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