/[gentoo-x86]/dev-libs/xapian-bindings/files/fix-LUA_LIB-envvar.patch
Gentoo

Contents of /dev-libs/xapian-bindings/files/fix-LUA_LIB-envvar.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Dec 17 18:51:08 2011 UTC (2 years, 6 months ago) by blueness
Branch: MAIN
Fix install location of lua binding

(Portage version: 2.1.10.11/cvs/Linux x86_64)

1 diff -Naur xapian-bindings-1.2.8.orig//configure.ac xapian-bindings-1.2.8/configure.ac
2 --- xapian-bindings-1.2.8.orig//configure.ac 2011-12-14 00:29:23.000000000 -0500
3 +++ xapian-bindings-1.2.8/configure.ac 2011-12-17 13:28:25.000000000 -0500
4 @@ -926,13 +926,15 @@
5 if test -n "$LUA" ; then
6 AC_MSG_RESULT([$lua_version])
7 AC_ARG_VAR(LUA_LIB, [Directory to install xapian.so into])
8 - AC_MSG_CHECKING(for Lua library to install xapian.so)
9 - LUA_LIB=`$LUA -e 'require("package") print(package.cpath)' | cut -f 2 -d ';' | cut -f 1 -d '?'`
10 - LUA_LIB=`expr X"$LUA_LIB" : X'\(.*\)/$'`
11 - if test -z "$LUA_LIB"; then
12 - AC_MSG_RESULT(not found)
13 - else
14 - AC_MSG_RESULT($LUA_LIB)
15 + if test -z "$LUA_LIB" ; then
16 + AC_MSG_CHECKING([for Lua library to install xapian.so])
17 + LUA_LIB=`$LUA -e 'require("package") print(package.cpath)' | cut -f 2 -d ';' | cut -f 1 -d '?'`
18 + LUA_LIB=`expr X"$LUA_LIB" : X'\(.*\)/$'`
19 + if test -z "$LUA_LIB"; then
20 + AC_MSG_RESULT(not found)
21 + else
22 + AC_MSG_RESULT($LUA_LIB)
23 + fi
24 fi
25 AC_SUBST(LUA_LIB)
26

  ViewVC Help
Powered by ViewVC 1.1.20