aboutsummaryrefslogtreecommitdiff
path: root/x11/xterm
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-01-08 14:00:00 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-01-08 14:00:00 +0000
commit640601eabcbc0d384cfc7261a59ecd5caa0105f0 (patch)
tree5f2828e3bddd9eb07db83791d8ae5ed131eeda88 /x11/xterm
parente6cfcb52e158442bc16b183c85cd7a06c9ee6592 (diff)
downloadports-640601eabcbc0d384cfc7261a59ecd5caa0105f0.tar.gz
ports-640601eabcbc0d384cfc7261a59ecd5caa0105f0.zip
Notes
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>