pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/aterm Enable "ttygid" support on *BSD and Darwin, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a5d708a8784
branches:  trunk
changeset: 463026:7a5d708a8784
user:      fredb <fredb%pkgsrc.org@localhost>
date:      Sat Oct 25 13:32:59 2003 +0000

description:
Enable "ttygid" support on *BSD and Darwin, just like for "rxvt". Closes
PR pkg/23229.

diffstat:

 x11/aterm/Makefile |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r a1f7bca21184 -r 7a5d708a8784 x11/aterm/Makefile
--- a/x11/aterm/Makefile        Sat Oct 25 10:23:23 2003 +0000
+++ b/x11/aterm/Makefile        Sat Oct 25 13:32:59 2003 +0000
@@ -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 @@
 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-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"



Home | Main Index | Thread Index | Old Index