Add support for 256 colour Xterm.

PR:		81285
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
This commit is contained in:
Cy Schubert 2005-09-16 16:30:21 +00:00
parent c274106b6f
commit d5d85a487f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142939
2 changed files with 18 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= screen
PORTVERSION= 4.0.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
@ -28,6 +28,14 @@ NO_PACKAGE= Tends to loop using 100% CPU when used from package - perhaps it har
CFLAGS+= -O0
.endif
# Enables support for 256 colour xterm. Note that you may need to
# set up a custom termcap entry or .screenrc which modifies termcap
# to contain the following: Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm
#
.if defined(WITH_XTERM_256)
CFLAGS+= -DCOLORS256
.endif
.if defined(WITHOUT_NETHACK)
CFLAGS+= -DNONETHACK
.endif

View File

@ -7,7 +7,7 @@
PORTNAME= screen
PORTVERSION= 4.0.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
@ -28,6 +28,14 @@ NO_PACKAGE= Tends to loop using 100% CPU when used from package - perhaps it har
CFLAGS+= -O0
.endif
# Enables support for 256 colour xterm. Note that you may need to
# set up a custom termcap entry or .screenrc which modifies termcap
# to contain the following: Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm
#
.if defined(WITH_XTERM_256)
CFLAGS+= -DCOLORS256
.endif
.if defined(WITHOUT_NETHACK)
CFLAGS+= -DNONETHACK
.endif