aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/screen
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2008-06-10 13:53:18 +0800
committercy <cy@FreeBSD.org>2008-06-10 13:53:18 +0800
commitadbbc3b4faedf2dce38b8fcc3edd505aa5197ecc (patch)
treef14137b708b578cb161c29b55e8014185e07484f /sysutils/screen
parent225d4d06d17e6b45c7946a1f25aa2eb2a8d534c1 (diff)
downloadfreebsd-ports-gnome-adbbc3b4faedf2dce38b8fcc3edd505aa5197ecc.tar.gz
freebsd-ports-gnome-adbbc3b4faedf2dce38b8fcc3edd505aa5197ecc.tar.zst
freebsd-ports-gnome-adbbc3b4faedf2dce38b8fcc3edd505aa5197ecc.zip
Add optional patch to include hostname in screen's "locked" message.
PR: 122718 Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
Diffstat (limited to 'sysutils/screen')
-rw-r--r--sysutils/screen/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index e33e27a5cc02..fb3a16072faa 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -22,7 +22,8 @@ OPTIONS= CJK "Treat CJK ambiguous characters as full width" OFF \
INFO "Build and install info documentation" ON \
MAN "Build and install man pages" ON \
NETHACK "Enable nethack-style messages" ON \
- XTERM_256 "Enable support for 256 colour xterm" OFF
+ XTERM_256 "Enable support for 256 colour xterm" OFF \
+ HOSTINLOCKED "Print user@host in locked message" OFF
NO_PACKAGE= Tends to loop using 100% CPU when used from package - perhaps it hard-codes information about the build host
@@ -62,6 +63,10 @@ CFLAGS+= -DNONETHACK
EXTRA_PATCHES+= ${FILESDIR}/opt-cjkwidth
.endif
+.if defined(WITH_HOSTINLOCKED)
+EXTRA_PATCHES+= ${FILESDIR}/opt-hostinlocked
+.endif
+
post-patch:
@${RM} ${WRKSRC}/doc/screen.info*
@${REINPLACE_CMD} -e 's|/dev/ptmx|/nonexistent|' ${WRKSRC}/configure