Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 12:51:28 GMT
From:      Kenji Rikitake <kenji@k2r.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186917: editors/vim 7.4.182 does NOT run lua script
Message-ID:  <201402201251.s1KCpSnt059225@cgiserv.freebsd.org>
Resent-Message-ID: <201402201300.s1KD00PO029633@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186917
>Category:       ports
>Synopsis:       editors/vim 7.4.182 does NOT run lua script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 20 13:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Kenji Rikitake
>Release:        10.0-STABLE
>Organization:
>Environment:
FreeBSD wellmax.priv.k2r.org 10.0-STABLE FreeBSD 10.0-STABLE #27 r261910: Sat Feb 15 17:28:48 JST 2014     root@wellmax.priv.k2r.org:/usr/obj/usr/src/sys/K2RKERNEL  amd64
>Description:
Lua script cannot be invoked from vim.
>How-To-Repeat:
/usr/local/bin/vim
then enter
":lua print(_VERSION)"

>Fix:
The modification on the Makefile by sunpoet on ports svn r344966 broke the code of r344782 on 7.4.161_1. 

Solution: revert back
http://svnweb.freebsd.org/ports/head/editors/vim/Makefile?annotate=344966#l154
to
http://svnweb.freebsd.org/ports/head/editors/vim/Makefile?annotate=344782#l183

See also
http://svnweb.freebsd.org/ports/head/editors/vim/Makefile?r1=344782&r2=344966

I've attached the patch for the Makefile.



Patch attached with submission follows:

--- Makefile.FCS	2014-02-20 21:37:55.000000000 +0900
+++ Makefile	2014-02-20 21:38:48.000000000 +0900
@@ -155,7 +155,7 @@
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
 		-e 's|\$$gtk_config_prefix/bin/gtk-config|\$${GTK_CONFIG}|g' \
 		-e 's|\$$gtk_config_exec_prefix/bin/gtk-config|\$${GTK_CONFIG}|g' \
-		-e 's|set dummy lua;|set dummy lua-${LUA_VER};|g' ${WRKSRC}/src/auto/configure
+		-e 's|set dummy lua;|set dummy ${LUA_CMD};|g' ${WRKSRC}/src/auto/configure
 .if ${PORT_OPTIONS:MXTERM_SAVE}
 	@${REINPLACE_CMD} -e '/FEAT_XTERM_SAVE/ s|.*|#define FEAT_XTERM_SAVE|' ${WRKSRC}/src/feature.h
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



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