aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-09-04 18:11:01 +0800
committergahr <gahr@FreeBSD.org>2014-09-04 18:11:01 +0800
commitb865748145d6284edd9984421993e93a38b9b2e0 (patch)
tree604fd28f5d8c64fff007838940f03e5430e03988 /sysutils
parentc7ed8007525c5d32cdede9a20ec9e52f453559de (diff)
downloadfreebsd-ports-gnome-b865748145d6284edd9984421993e93a38b9b2e0.tar.gz
freebsd-ports-gnome-b865748145d6284edd9984421993e93a38b9b2e0.tar.zst
freebsd-ports-gnome-b865748145d6284edd9984421993e93a38b9b2e0.zip
- Revert r363450, it's causing more problems than it solves
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tmux/Makefile5
-rw-r--r--sysutils/tmux/files/extra-patch-tty-keys.c (renamed from sysutils/tmux/files/patch-tty-keys.c)0
2 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index a9552aee4cb8..caead8908b28 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -26,12 +26,15 @@ PLIST_DIRSTRY= etc/bash_completion.d
PORTDOCS= CHANGES FAQ README TODO
PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS EXAMPLES LIBEVENT_STATIC
+OPTIONS_DEFINE= DOCS EXAMPLES LIBEVENT_STATIC BACKSPACE
LIBEVENT_STATIC_DESC= Build with static libevent
+BACKSPACE_DESC= Build with tty/keys patch
CFLAGS+= -Wno-pointer-sign
+BACKSPACE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tty-keys.c
+
LIBEVENT_STATIC_LIB_DEPENDS_OFF= libevent.so:${PORTSDIR}/devel/libevent2
LIBEVENT_STATIC_BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent2
diff --git a/sysutils/tmux/files/patch-tty-keys.c b/sysutils/tmux/files/extra-patch-tty-keys.c
index df926d8fb9ca..df926d8fb9ca 100644
--- a/sysutils/tmux/files/patch-tty-keys.c
+++ b/sysutils/tmux/files/extra-patch-tty-keys.c