Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/bin/xterm build updates for xterm-261. re...



details:   https://anonhg.NetBSD.org/src/rev/6f17680e6d76
branches:  trunk
changeset: 755943:6f17680e6d76
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 30 04:58:42 2010 +0000

description:
build updates for xterm-261.  resize also uses terminfo now.

diffstat:

 external/mit/xorg/bin/xterm/Makefile        |  16 ++++++++--------
 external/mit/xorg/bin/xterm/resize/Makefile |   5 ++++-
 2 files changed, 12 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r 5e53548911b2 -r 6f17680e6d76 external/mit/xorg/bin/xterm/Makefile
--- a/external/mit/xorg/bin/xterm/Makefile      Wed Jun 30 03:28:01 2010 +0000
+++ b/external/mit/xorg/bin/xterm/Makefile      Wed Jun 30 04:58:42 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2010/02/04 13:22:34 tron Exp $
+#      $NetBSD: Makefile,v 1.7 2010/06/30 04:58:42 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -10,12 +10,12 @@
        wcwidth.c xutf8.c cachedGCs.c xtermcap.c
 
 CPPFLAGS+=     -I${X11SRCDIR.${PROG}} \
+               -I${X11SRCDIR.${PROG}}/../include \
                -I${DESTDIR}${X11INCDIR}/freetype2 \
-               -DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS \
-               -DXRENDERFONT -DXFREE86_FT2 -DOPT_PASTE64 \
-               -DPROJECTROOT=${X11ROOTDIR} -DHAVE_TERMCAP_H
-
-CPPFLAGS.main.c=-DUTMP -DUSE_TTY_GROUP ${X11FLAGS.VERSION}
+               -DPROJECTROOT=${X11ROOTDIR} \
+               -DHAVE_CONFIG_H \
+               -D_REENTRANT \
+               ${X11FLAGS.VERSION}
 
 APPDEFS=XTerm.ad XTerm-color.ad
 
@@ -23,9 +23,9 @@
 
 LDADD+=        -lXft -lfontconfig -lfreetype -lexpat -lXrender
 DPADD+=        ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}
-LDADD+=        -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lterminfo -lutil
+LDADD+=        -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lcurses -lterminfo -lutil
 DPADD+=        ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
-       ${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBTERMINFO} ${LIBUTIL}
+       ${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBCURSES} ${LIBTERMINFO} ${LIBUTIL}
 
 SUBDIR=        resize uxterm
 
diff -r 5e53548911b2 -r 6f17680e6d76 external/mit/xorg/bin/xterm/resize/Makefile
--- a/external/mit/xorg/bin/xterm/resize/Makefile       Wed Jun 30 03:28:01 2010 +0000
+++ b/external/mit/xorg/bin/xterm/resize/Makefile       Wed Jun 30 04:58:42 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
+#      $NetBSD: Makefile,v 1.2 2010/06/30 04:58:42 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -9,5 +9,8 @@
 
 .PATH: ${X11SRCDIR.xterm}
 
+LDADD+=        -lterminfo
+DPADD+=        ${LIBTERMINFO} 
+
 .include <bsd.x11.mk>
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index