summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2010-10-09 13:02:27 +0000
committerobache <obache>2010-10-09 13:02:27 +0000
commit0f174889bc8a7c774b481493a51d8336ee900b25 (patch)
tree17387e016f37fdad55338a4c6e344167d2180b21
parent3fb6e7035173636ba9c6cba24583128694789455 (diff)
downloadpkgsrc-0f174889bc8a7c774b481493a51d8336ee900b25.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