Add "WITH_XTERM_SAVE" knob to enable Vim's 'restorescreen' option.

See also:
  :help 'rs'
  :help xterm-save-screen

Submitted by:	David Thompson <dat1965@yahoo.com>
This commit is contained in:
David E. O'Brien 2006-09-10 02:29:51 +00:00
parent 07eeca98f0
commit 59c73708f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172661

View file

@ -144,6 +144,11 @@ pre-configure:
s|\$$gtk_config_exec_prefix/bin/gtk-config|\$${GTK_CONFIG}|g; \
s|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/auto/configure
.if defined(WITH_XTERM_SAVE)
@${REINPLACE_CMD} -e ' \
s|/\* #define FEAT_XTERM_SAVE \*/|#define FEAT_XTERM_SAVE|g' \
${WRKSRC}/feature.h
.endif
# Clean up junk files to keep them from being installed.
pre-install: