aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2016-03-11 02:26:20 +0800
committernaddy <naddy@FreeBSD.org>2016-03-11 02:26:20 +0800
commit96c3c4b311ae3e49686bf13325ce9f3ada9427da (patch)
treee53edfca4ee55403ceb177f7db793ff522b0df3d
parent1b1fde89248e8d0f8f1bb71e590d6eefa4327482 (diff)
downloadfreebsd-ports-gnome-96c3c4b311ae3e49686bf13325ce9f3ada9427da.tar.gz
freebsd-ports-gnome-96c3c4b311ae3e49686bf13325ce9f3ada9427da.tar.zst
freebsd-ports-gnome-96c3c4b311ae3e49686bf13325ce9f3ada9427da.zip
Do not include _POSIX_SOURCE in CPPFLAGS. It removes much termios(4)
functionality, resulting in broken tty settings. Approved by: ehaupt
-rw-r--r--x11/xterm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index 70af1d940fef..8e8be41fd459 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xterm
PORTVERSION= 323
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://invisible-island.net/xterm/:src1 \
LOCAL/ehaupt:src1 LOCAL/ehaupt:src2
@@ -21,6 +22,7 @@ USE_XORG= xft
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-utempter --enable-narrowproto
+CONFIGURE_ENV+= cf_cv_posix_source=no
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib