aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xterm
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-01-08 22:00:00 +0800
committerstas <stas@FreeBSD.org>2009-01-08 22:00:00 +0800
commit4ab8d74baf58e57590efdc7f42f312dc89631af9 (patch)
treeffcd68713bb30a0e104dfecc832b69b0389ff40a /x11/xterm
parent792a22236e00afa495eb06729bbaaefd3204cf8d (diff)
downloadfreebsd-ports-gnome-4ab8d74baf58e57590efdc7f42f312dc89631af9.tar.gz
freebsd-ports-gnome-4ab8d74baf58e57590efdc7f42f312dc89631af9.tar.zst
freebsd-ports-gnome-4ab8d74baf58e57590efdc7f42f312dc89631af9.zip
- 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)
Diffstat (limited to 'x11/xterm')
-rw-r--r--x11/xterm/Makefile11
1 files changed, 8 insertions, 3 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>