diff options
author | fredb <fredb@pkgsrc.org> | 2003-10-25 13:32:59 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2003-10-25 13:32:59 +0000 |
commit | ac3663495e995a54cf2e24aeff39c55ccf4c07f0 (patch) | |
tree | 4726fe17b503d04c819b40903c28fb98c99f90c3 /x11 | |
parent | b342c13b51162642850f15926a5dbc1e9e2cebae (diff) | |
download | pkgsrc-ac3663495e995a54cf2e24aeff39c55ccf4c07f0.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" |