From owner-svn-ports-head@freebsd.org Sun Nov 12 21:43:29 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4E14C7D50F; Sun, 12 Nov 2017 21:43:29 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A18FA76451; Sun, 12 Nov 2017 21:43:29 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vACLhSpw045452; Sun, 12 Nov 2017 21:43:28 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vACLhSvx045451; Sun, 12 Nov 2017 21:43:28 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201711122143.vACLhSvx045451@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Sun, 12 Nov 2017 21:43:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454086 - head/editors/vim X-SVN-Group: ports-head X-SVN-Commit-Author: adamw X-SVN-Commit-Paths: head/editors/vim X-SVN-Commit-Revision: 454086 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2017 21:43:29 -0000 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