Bug 185650 - editors/vim: liblua-5.2.so is not loaded when invoked from vim command
Summary: editors/vim: liblua-5.2.so is not loaded when invoked from vim command
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-01-11 01:00 UTC by Kenji Rikitake
Modified: 2014-02-12 04:20 UTC (History)
0 users

See Also:


Attachments
file.diff (602 bytes, patch)
2014-01-11 01: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-01-11 01:00:02 UTC
/usr/local/lib/liblua-5.2 is not loaded when lua script is invoked from vim.

Error message:
E370: Could not load library liblua-5.2
Lua library cannot be loaded.

Fix: The shared library suffix (.so) is not added in DYNAMIC_LUA_DLL. Patch attached.

This has been an unresolved issue since December 2013. See PR ports/184588 for the details. The maintainer has not been responded as of 11-JAN-2014 0055UTC.

Patch attached with submission follows:
How-To-Repeat: vim
:lua print(_VERSION)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-11 01:00:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2014-02-12 03:20:35 UTC
State Changed
From-To: open->closed

should be fixed now.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-02-12 04:18:22 UTC
Author: miwi
Date: Wed Feb 12 02:59:57 2014
New Revision: 343835
URL: http://svnweb.freebsd.org/changeset/ports/343835
QAT: https://qat.redports.org/buildarchive/r343835/

Log:
  - Fix lua support
  
  PR:		185650
  		184588
  Submitted by:	Kenji Rikitake <kenji@k2r.org>
  Approved by:	maintainer timeout

Modified:
  head/editors/vim/Makefile
  head/editors/vim/files/patch-configure

Modified: head/editors/vim/Makefile
==============================================================================
--- head/editors/vim/Makefile	Wed Feb 12 02:26:25 2014	(r343834)
+++ head/editors/vim/Makefile	Wed Feb 12 02:59:57 2014	(r343835)
@@ -12,7 +12,7 @@ PORTNAME=	vim
 #		! PATCHLEVEL to that level.
 PATCHLEVEL=	169
 PORTVERSION=	7.4.${PATCHLEVEL}
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	editors
 MASTER_SITES=	VIM
 DISTNAME=	${PORTNAME}-${PORTVERSION:R}

Modified: head/editors/vim/files/patch-configure
==============================================================================
--- head/editors/vim/files/patch-configure	Wed Feb 12 02:26:25 2014	(r343834)
+++ head/editors/vim/files/patch-configure	Wed Feb 12 02:59:57 2014	(r343835)
@@ -42,7 +42,7 @@
        LUA_LIBS=""
 -      LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"${vi_cv_dll_name_lua}\\\" $LUA_CFLAGS"
 +      vi_cv_version_lua=${LUA_VER}
-+      LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"liblua-${vi_cv_version_lua}\\\" $LUA_CFLAGS"
++      LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"liblua-${vi_cv_version_lua}.so\\\" $LUA_CFLAGS"
      fi
      if test "X$LUA_CFLAGS$LUA_LIBS" != "X" && \
         test "x$MACOSX" = "xyes" && test "x$vi_cv_with_luajit" != "xno" && \
_______________________________________________
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"