enable utmp/wtmp support

This commit is contained in:
brad 1999-10-31 18:52:41 +00:00
parent f36a7dbd90
commit 5be3b9244e
3 changed files with 23 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 1999/08/30 14:14:02 brad Exp $
# $OpenBSD: Makefile,v 1.9 1999/10/31 18:52:41 brad Exp $
# $FreeBSD: Makefile,v 1.3 1999/03/08 20:59:19 steve Exp $
DISTNAME= aterm-0.3.6
@ -13,12 +13,12 @@ LIB_DEPENDS= jpeg.62:${PORTSDIR}/graphics/jpeg \
USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-xgetdefault --enable-transparency \
--enable-background-image --with-jpeg --with-png
CONFIGURE_ARGS+=--enable-utmp --enable-wtmp \
--with-xpm --enable-transparency \
--enable-xgetdefault --enable-background-image \
--enable-fading --with-jpeg --with-png
# Various compile time options you may want to configure.
#CONFIGURE_ARGS+= --enable-utmp \
# --enable-wtmp \
# --enable-menubar
post-install:
@chmod 4755 ${PREFIX}/bin/aterm
.include <bsd.port.mk>

View File

@ -0,0 +1,15 @@
--- autoconf/config.h.in.orig Sun Oct 31 12:59:58 1999
+++ autoconf/config.h.in Sun Oct 31 13:00:35 1999
@@ -172,10 +172,10 @@
#undef HAVE_UTMP_HOST
/* Define location of utmp/utmpx */
-#undef RXVT_UTMP_FILE
+#define RXVT_UTMP_FILE "/var/run/utmp"
/* Define location of wtmp */
-#undef RXVT_WTMP_FILE
+#define RXVT_WTMP_FILE "/var/log/wtmp"
/* Define location of ttys/ttytab */
#undef TTYTAB_FILENAME

View File

@ -1,2 +1,3 @@
bin/aterm
@exec chmod 4755 %D/bin/aterm
man/man1/aterm.1