Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 397234 Details for
Bug 534150
dev-lua/luafilesystem-1.6.2 with dev-lang/lua-5.2.3-r1 - src/lfs.c:59:17: fatal error: lua.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for luafilesystem-1.6.2.ebuild
luafilesystem-1.6.2.ebuild.patch (text/plain), 2.74 KB, created by
Dennis Schridde
on 2015-02-22 15:04:08 UTC
(
hide
)
Description:
patch for luafilesystem-1.6.2.ebuild
Filename:
MIME Type:
Creator:
Dennis Schridde
Created:
2015-02-22 15:04:08 UTC
Size:
2.74 KB
patch
obsolete
>--- gentoo/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild 2014-12-24 11:41:04.000000000 +0100 >+++ local/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild 2015-02-22 15:57:33.706159527 +0100 >@@ -1,9 +1,9 @@ >-# Copyright 1999-2014 Gentoo Foundation >+# Copyright 1999-2015 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild,v 1.1 2014/12/24 10:41:04 mrueg Exp $ >+# $Header: $ > > EAPI=5 >-inherit multilib toolchain-funcs >+inherit toolchain-funcs > > DESCRIPTION="File System Library for the Lua Programming Language" > HOMEPAGE="http://keplerproject.github.com/luafilesystem/" >@@ -12,23 +12,68 @@ > LICENSE="MIT" > SLOT="0" > KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" >-IUSE="" >+IUSE_LUA_TARGET="lua_target_lua5-1 lua_target_lua5-2" >+IUSE="${IUSE_LUA_TARGET}" > >-DEPEND=">=dev-lang/lua-5.1" >+REQUIRED_USE="|| ( ${IUSE_LUA_TARGET} )" >+ >+DEPEND="lua_target_lua5-1? ( dev-lang/lua:5.1 ) >+ lua_target_lua5-2? ( dev-lang/lua:5.2 )" > RDEPEND="${DEPEND}" > >+get_lua_variant() { >+ local lua_target="$1" lua_variant >+ lua_variant="${lua_target##lua_target_}" >+ lua_variant="${lua_variant/-/.}" >+ echo "${lua_variant}" >+} >+ > src_prepare() { >+ local lua_target lua_variant S_variant >+ local pkg_config="$(tc-getPKG_CONFIG)" lua_inc lua_cmod > sed -i \ > -e "s|/usr/local|/usr|" \ >- -e "s|/lib|/$(get_libdir)|" \ > -e "s|-O2|${CFLAGS}|" \ > -e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \ > -e "s|gcc|$(tc-getCC)|" \ > config || die >+ for lua_target in ${IUSE_LUA_TARGET} ; do >+ use "${lua_target}" || continue >+ lua_variant="$(get_lua_variant ${lua_target})" >+ S_variant="${S}-${lua_variant}" >+ einfo "Preparing for ${lua_variant}" >+ cp -ar "${S}" "${S_variant}" || die >+ cd "${S_variant}" || die >+ lua_inc="$(${pkg_config} --variable INSTALL_INC ${lua_variant})" lua_cmod="$(${pkg_config} --variable INSTALL_CMOD ${lua_variant})" >+ sed -i \ >+ -e "/^LUA_INC/s|=.*|= ${lua_inc}|" \ >+ -e "/^LUA_LIBDIR/s|=.*|= \${DESTDIR}${lua_cmod}|" \ >+ config || die >+ done >+} >+ >+src_compile() { >+ local lua_target lua_variant S_variant >+ for lua_target in ${IUSE_LUA_TARGET} ; do >+ use "${lua_target}" || continue >+ lua_variant="$(get_lua_variant ${lua_target})" >+ S_variant="${S}-${lua_variant}" >+ cd "${S_variant}" || die >+ einfo "Compiling for ${lua_variant}" >+ default >+ done > } > > src_install() { >- emake PREFIX="${ED}usr" install >+ local lua_target lua_variant S_variant >+ for lua_target in ${IUSE_LUA_TARGET} ; do >+ use "${lua_target}" || continue >+ lua_variant="$(get_lua_variant ${lua_target})" >+ S_variant="${S}-${lua_variant}" >+ cd "${S_variant}" || die >+ einfo "Installing for ${lua_variant}" >+ emake DESTDIR="${D}" install >+ done > dodoc README > dohtml doc/us/* > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 534150
:
392822
| 397234