summaryrefslogtreecommitdiff
path: root/misc/screen
diff options
context:
space:
mode:
Diffstat (limited to 'misc/screen')
-rw-r--r--misc/screen/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index 5bfde9790c7..a9049566224 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2006/11/02 18:21:18 joerg Exp $
+# $NetBSD: Makefile,v 1.71 2007/02/15 14:47:09 rillig Exp $
DISTNAME= screen-4.0.3
CATEGORIES= misc shells
@@ -45,6 +45,9 @@ post-install:
${DESTDIR}${PREFIX}/share/examples/screen/etcscreenrc
${INSTALL_DATA} ${WRKSRC}/etc/screenrc \
${DESTDIR}${PREFIX}/share/examples/screen/screenrc
+.if !empty(UNPRIVILEGED:M[Yy][Ee][Ss])
+ chmod -s ${DESTDIR}${PREFIX}/bin/${DISTNAME}
+.endif
.PHONY: screen-terminfo
screen-terminfo: