Module Name:    src
Committed By:   christos
Date:           Sat Sep 17 01:48:46 UTC 2011

Modified Files:
        src/external/bsd/tmux/usr.bin/tmux: Makefile

Log Message:
Add utmp support.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/tmux/usr.bin/tmux/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/tmux/usr.bin/tmux/Makefile
diff -u src/external/bsd/tmux/usr.bin/tmux/Makefile:1.8 src/external/bsd/tmux/usr.bin/tmux/Makefile:1.9
--- src/external/bsd/tmux/usr.bin/tmux/Makefile:1.8	Fri Aug 19 05:06:05 2011
+++ src/external/bsd/tmux/usr.bin/tmux/Makefile	Fri Sep 16 21:48:46 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/08/19 09:06:05 christos Exp $
+# $NetBSD: Makefile,v 1.9 2011/09/17 01:48:46 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -138,6 +138,7 @@
 SRCS+=		window.c
 SRCS+=		xmalloc.c
 SRCS+=		xterm-keys.c
+SRCS+=		utmp.c
 
 # Files in compat/
 #SRCS+=		forkpty-hpux.c
@@ -205,6 +206,8 @@
 CPPFLAGS+=	-DHAVE_FCNTL_CLOSEM=1
 CPPFLAGS+=	-DHAVE_PROC_PID=1
 CPPFLAGS+=	-DHAVE_DIRFD=1
+CPPFLAGS+=	-DSUPPORT_UTMP
+CPPFLAGS+=	-DSUPPORT_UTMPX
 
 LDADD+=		-levent -lterminfo -lutil -lm
 DPADD+=		${LIBEVENT} ${LIBTERMINFO} ${LIBUTIL}

Reply via email to