aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vim/Makefile5
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: