Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533362 - app-editors/vim-7.4.542: Lua support can't be enabled
Summary: app-editors/vim-7.4.542: Lua support can't be enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-23 04:29 UTC by Shunsuke Shimizu
Modified: 2014-12-23 08:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch to add --with-lua-prefix (vim-7.4.542-prefix-luainclude.patch,455 bytes, patch)
2014-12-23 04:29 UTC, Shunsuke Shimizu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shunsuke Shimizu 2014-12-23 04:29:00 UTC
Created attachment 392248 [details, diff]
A patch to add --with-lua-prefix

The configure script of Vim searches Lua's header file from /usr/include by default. So, on a prefixed environment, header file cannot be found and Lua support is disabled.

The problem can be confirmed by following:

  USE="lua" emerge vim
  vim --version | grep lua
  #this returns -lua, not +lua


Adding --with-lua-prefix="$EPREFIX/usr" remedies the problem.
A patch to ebuild is attached.
Comment 1 Fabian Groffen gentoo-dev 2014-12-23 08:26:10 UTC
Thanks, I applied a similar patch