svn commit: r454086 - head/editors/vim
Adam Weinberger
adamw at FreeBSD.org
Sun Nov 12 21:43:29 UTC 2017
Author: adamw
Date: Sun Nov 12 21:43:28 2017
New Revision: 454086
URL: https://svnweb.freebsd.org/changeset/ports/454086
Log:
Fix lua support
Vim's configure system is completely unable to handle our version-specific
lua library. This is a really ugly fix. If anybody has a more elegant
solution I'd be happy to replace this.
PR: 223632
Reported by: Dmitri Goutnik
Modified:
head/editors/vim/Makefile
Modified: head/editors/vim/Makefile
==============================================================================
--- head/editors/vim/Makefile Sun Nov 12 21:34:26 2017 (r454085)
+++ head/editors/vim/Makefile Sun Nov 12 21:43:28 2017 (r454086)
@@ -3,6 +3,7 @@
PORTNAME= vim
PORTVERSION= 8.0.1289
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= editors
@@ -171,6 +172,8 @@ post-patch-EXUBERANT_CTAGS-on:
post-patch-LUA-on:
@${REINPLACE_CMD} -e 's|set dummy lua;|set dummy ${LUA_CMD};|g' ${WRKSRC}/src/auto/configure
+ @${REINPLACE_CMD} -e '/$$LUA_LIBS/ s|^|LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}";|' ${WRKSRC}/src/auto/configure
+ @${REINPLACE_CMD} -e '/LUA_CFLAGS=/s|".*"|"-I${LUA_INCDIR}"|' ${WRKSRC}/src/auto/configure
post-patch-XTERM_SAVE-on:
@${REINPLACE_CMD} -e '/FEAT_XTERM_SAVE/ s|.*|#define FEAT_XTERM_SAVE|' ${WRKSRC}/src/feature.h
More information about the svn-ports-head
mailing list