diff options
author | fredb <fredb> | 2003-10-25 13:32:59 +0000 |
---|---|---|
committer | fredb <fredb> | 2003-10-25 13:32:59 +0000 |
commit | 4a5d8fbb648ee0652bba9f0b71b4507d836c9ead (patch) | |
tree | 4726fe17b503d04c819b40903c28fb98c99f90c3 /x11 | |
parent | 991b39a878c762f6c36a1239af43d0c6cae8b266 (diff) | |
download | pkgsrc-4a5d8fbb648ee0652bba9f0b71b4507d836c9ead.tar.gz |
Enable "ttygid" support on *BSD and Darwin, just like for "rxvt". Closes
PR pkg/23229.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/aterm/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/x11/aterm/Makefile b/x11/aterm/Makefile index d65fe7defac..0423a665441 100644 --- a/x11/aterm/Makefile +++ b/x11/aterm/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2003/07/21 17:38:25 martti Exp $ +# $NetBSD: Makefile,v 1.14 2003/10/25 13:32:59 fredb Exp $ # DISTNAME= aterm-0.4.2 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aterm/} @@ -11,6 +11,7 @@ HOMEPAGE= http://aterm.sourceforge.net/ COMMENT= Aterm (Afterstep XVT) - a VT102 emulator for the X window system USE_BUILDLINK2= YES +USE_PKGINSTALL= YES USE_X11= YES GNU_CONFIGURE= YES BUILD_DEFS+= ATERM_USE_KANJI ATERM_USE_XTERM_SCROLL @@ -50,6 +51,16 @@ CONFIGURE_ARGS+=--enable-big5 CONFIGURE_ARGS+=--enable-greek .endif +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS:M*BSD} || ${OPSYS} == "Darwin" +# Make rxvt setuid root so that tty ownership setting and utmp logging +# function correctly. +# +CONFIGURE_ARGS+=--enable-ttygid +SPECIAL_PERMS= ${PREFIX}/bin/aterm ${SETUID_ROOT_PERMS} +.endif + .include "../../graphics/jpeg/buildlink2.mk" .include "../../graphics/png/buildlink2.mk" .include "../../graphics/xpm/buildlink2.mk" |