summaryrefslogtreecommitdiff
path: root/x11/aterm
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2003-10-25 13:32:59 +0000
committerfredb <fredb@pkgsrc.org>2003-10-25 13:32:59 +0000
commit7468377340c321d7c64022cef5c49e40ff306e6f (patch)
tree4726fe17b503d04c819b40903c28fb98c99f90c3 /x11/aterm
parent1ddb8d2db9baabbb3938eee4b280990026b4ea9c (diff)
downloadpkgsrc-7468377340c321d7c64022cef5c49e40ff306e6f.tar.gz
Enable "ttygid" support on *BSD and Darwin, just like for "rxvt". Closes
PR pkg/23229.
Diffstat (limited to 'x11/aterm')
-rw-r--r--x11/aterm/Makefile15
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"