Bug 186917 - editors/vim 7.4.182 does NOT run lua script
Summary: editors/vim 7.4.182 does NOT run lua script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 13:00 UTC by Kenji Rikitake
Modified: 2014-02-24 18:50 UTC (History)
0 users

See Also:


Attachments
file.diff (611 bytes, patch)
2014-02-20 13:00 UTC, Kenji Rikitake
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenji Rikitake 2014-02-20 13:00:00 UTC
Lua script cannot be invoked from vim.

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:
How-To-Repeat: /usr/local/bin/vim
then enter
":lua print(_VERSION)"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-20 13:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-24 18:44:28 UTC
Author: sunpoet
Date: Mon Feb 24 18:44:16 2014
New Revision: 345889
URL: http://svnweb.freebsd.org/changeset/ports/345889
QAT: https://qat.redports.org/buildarchive/r345889/

Log:
  - Fix lua support
  
  PR:		ports/186917
  Submitted by:	Kenji Rikitake <kenji@k2r.org>

Modified:
  head/editors/vim/Makefile

Modified: head/editors/vim/Makefile
==============================================================================
--- head/editors/vim/Makefile	Mon Feb 24 18:39:50 2014	(r345888)
+++ head/editors/vim/Makefile	Mon Feb 24 18:44:16 2014	(r345889)
@@ -159,7 +159,7 @@ pre-configure:
 	@${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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-02-24 18:45:00 UTC
State Changed
From-To: open->closed

Committed. Thanks!