diff options
-rw-r--r-- | misc/screen/Makefile | 10 | ||||
-rw-r--r-- | sysutils/screen/Makefile | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index e41d43849771..64db128c44a2 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -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 diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile index e41d43849771..64db128c44a2 100644 --- a/sysutils/screen/Makefile +++ b/sysutils/screen/Makefile @@ -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 |