Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2017 21:43:28 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454086 - head/editors/vim
Message-ID:  <201711122143.vACLhSvx045451@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711122143.vACLhSvx045451>