diff options
author | rillig <rillig> | 2007-02-15 14:47:09 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-02-15 14:47:09 +0000 |
commit | 5d329cee5c9fdfc4a5551fd25906659434cb5dd4 (patch) | |
tree | 6644a321067aeeab6d1db528369b33cec0265ac4 /misc/screen | |
parent | c46c3a4143dc11067654ebc8bff6a9d0b357071f (diff) | |
download | pkgsrc-5d329cee5c9fdfc4a5551fd25906659434cb5dd4.tar.gz |
It does not make sense to install bin/screen setuid in unprivileged mode.
Diffstat (limited to 'misc/screen')
-rw-r--r-- | misc/screen/Makefile | 5 |
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: |