summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-12-17 18:51:08 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-12-17 18:51:08 +0000
commitef969affffbda52464de046fa7a59cc762e64868 (patch)
tree571f79649700576ea0d527e6ed84d85de8df126d /dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild
parentalpha/ia64/sparc stable wrt #392785 (diff)
downloadhistorical-ef969affffbda52464de046fa7a59cc762e64868.tar.gz
historical-ef969affffbda52464de046fa7a59cc762e64868.tar.bz2
historical-ef969affffbda52464de046fa7a59cc762e64868.zip
Fix install location of lua binding
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild')
-rw-r--r--dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild
index 44987c3915f9..f14ce3896366 100644
--- a/dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild
+++ b/dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild,v 1.1 2011/12/14 11:21:00 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/xapian-bindings-1.2.8.ebuild,v 1.2 2011/12/17 18:51:08 blueness Exp $
EAPI="3"
PYTHON_DEPEND="python? 2"
@@ -12,7 +12,7 @@ PHP_EXT_NAME="xapian"
PHP_EXT_INI="yes"
PHP_EXT_OPTIONAL_USE="php"
-inherit java-pkg-opt-2 mono php-ext-source-r2 python
+inherit java-pkg-opt-2 mono php-ext-source-r2 python autotools
DESCRIPTION="SWIG and JNI bindings for Xapian"
HOMEPAGE="http://www.xapian.org/"
@@ -43,6 +43,11 @@ pkg_setup() {
}
src_prepare() {
+ if use lua; then
+ epatch "${FILESDIR}"/fix-LUA_LIB-envvar.patch
+ eautoreconf
+ fi
+
java-pkg-opt-2_src_prepare
if use java; then
sed \
@@ -68,6 +73,10 @@ src_configure() {
export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
fi
+ if use lua; then
+ export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
+ fi
+
econf \
$(use_with java) \
$(use_with lua) \