From 4ab8d74baf58e57590efdc7f42f312dc89631af9 Mon Sep 17 00:00:00 2001 From: stas Date: Thu, 8 Jan 2009 14:00:00 +0000 Subject: - Disable wide char support by default, as it breaks 8-bit charset support. - Introduce a new knob WITH_WIDE_CHARS to enable wide chars. Approved by: krion (maintainer) --- x11/xterm/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'x11') diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile index 161fa73389d2..138057d21b3c 100644 --- a/x11/xterm/Makefile +++ b/x11/xterm/Makefile @@ -22,8 +22,13 @@ USE_XORG= xaw xft GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS+=--enable-wide-chars --enable-luit --with-utempter \ - --enable-narrowproto +CONFIGURE_ARGS+=--with-utempter --enable-narrowproto + +.include + +.if defined(WITH_WIDE_CHARS) +CONFIGURE_ARGS+= --enable-wide-chars --enable-luit +.endif .if defined(WITH_256_COLOR) CONFIGURE_ARGS+= --enable-256-color @@ -34,4 +39,4 @@ MAN1= resize.1 koi8rxterm.1 uxterm.1 xterm.1 post-install: @${CHMOD} 4711 ${PREFIX}/bin/xterm -.include +.include -- cgit