diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-17 19:03:35 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-17 19:03:35 +0000 |
commit | e4ba95eba553d228ee6a62e2baa9055915ddb8ad (patch) | |
tree | cbdf6eb4cd8151363e3b21d46297042cd27e3d40 /misc | |
parent | af04d0922699bffcb5d4a2899f97cd557f511acd (diff) | |
download | pkgsrc-e4ba95eba553d228ee6a62e2baa9055915ddb8ad.tar.gz |
+ Include termcap.buildlink3.mk for proper termcap library handling.
+ Note bin/screen as a setuid-root program using SPECIAL_PERMS.
Bump the PKGREVISION to 1.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/screen/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 4791c1c49fe..21f775eee62 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.73 2007/05/23 23:49:24 wiz Exp $ +# $NetBSD: Makefile,v 1.74 2008/03/17 19:03:35 jlam Exp $ DISTNAME= screen-4.0.3 +PKGREVISION= 1 CATEGORIES= misc shells MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \ http://komquats.com/distfiles/ \ @@ -41,6 +42,10 @@ post-install: screen-terminfo PLIST_SUBST+= SCREEN_TERMINFO="@comment " .endif +.if empty(UNPRIVILEGED:M[Yy][Ee][Ss]) +SPECIAL_PERMS+= bin/${DISTNAME} ${SETUID_ROOT_PERMS} +.endif + post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/screen ${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \ @@ -57,4 +62,5 @@ screen-terminfo: ${SETENV} TERMINFO=${PREFIX}/share/lib/terminfo \ /usr/5bin/tic screeninfo.src +.include "../../mk/termcap.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |