diff options
author | obrien <obrien@FreeBSD.org> | 2006-09-10 10:29:51 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-09-10 10:29:51 +0800 |
commit | 5de5794e37f334e7a572c622fd32895b765afde3 (patch) | |
tree | 8a7e333ec244d8c69aa6762053764c268f93e16c /editors | |
parent | 7ce352d6e73838e8ab43a10d1e8387ff1f2a4442 (diff) | |
download | freebsd-ports-gnome-5de5794e37f334e7a572c622fd32895b765afde3.tar.gz freebsd-ports-gnome-5de5794e37f334e7a572c622fd32895b765afde3.tar.zst freebsd-ports-gnome-5de5794e37f334e7a572c622fd32895b765afde3.zip |
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>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vim/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 64b85ff0b74a..63b2679ab9f2 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -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: |