summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-20 06:23:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-20 06:23:29 +0000
commitf485fff0a51509ba1a0b1ff776e2da773fad57d5 (patch)
treeb1f05c0b06d068dbd783188f1e4a9744151cb64d /kde-base/kdelibs/files
parentAdd ~x86-fbsd keyword. (diff)
downloadgentoo-2-f485fff0a51509ba1a0b1ff776e2da773fad57d5.tar.gz
gentoo-2-f485fff0a51509ba1a0b1ff776e2da773fad57d5.tar.bz2
gentoo-2-f485fff0a51509ba1a0b1ff776e2da773fad57d5.zip
Cleanup econf call, fix missing quotes, add lua useflag (and patch to disable lua altogether) to fix bug #120388.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r--kde-base/kdelibs/files/kdelibs-3.5-lua.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/kde-base/kdelibs/files/kdelibs-3.5-lua.patch b/kde-base/kdelibs/files/kdelibs-3.5-lua.patch
new file mode 100644
index 000000000000..72e25434ce08
--- /dev/null
+++ b/kde-base/kdelibs/files/kdelibs-3.5-lua.patch
@@ -0,0 +1,32 @@
+Index: kate/part/configure.in.in
+===================================================================
+--- kate/part/configure.in.in (revision 586622)
++++ kate/part/configure.in.in (working copy)
+@@ -4,6 +4,9 @@
+
+ HAVE_LUA=""
+
++ AC_ARG_WITH([lua],
++ AC_HELP_STRING([--without-lua], [Build without Lua libraries (default: check)]))
++
+ AC_ARG_WITH(lua-dir,
+ AC_HELP_STRING([--with-lua-dir=DIR],[where the root of Lua 5.x is installed]),
+ [
+@@ -21,6 +24,9 @@
+ LUA_LIBS="-L$withval" ])
+
+
++ if test "x$with_lua" = "xno"; then
++ AC_MSG_RESULT([Not using Lua])
++ else
+ if ! test "x$LUA" = "x"; then
+ AC_MSG_RESULT(using Lua from $LUA)
+ fi
+@@ -76,6 +82,7 @@
+ AC_SUBST(LUA)
+ AC_SUBST(LUA_INCLUDES)
+ AC_SUBST(LUA_LIBS)
++ fi
+
+ ])
+