diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.2.21.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.2.21.ebuild index 63c9c466ea866..489576ef53073 100644 --- a/dev-libs/xapian-bindings/xapian-bindings-1.2.21.ebuild +++ b/dev-libs/xapian-bindings/xapian-bindings-1.2.21.ebuild @@ -15,7 +15,7 @@ PHP_EXT_OPTIONAL_USE="php" #mono violates sandbox, we disable it until we figure this out #inherit java-pkg-opt-2 mono-env php-ext-source-r2 python -inherit java-pkg-opt-2 php-ext-source-r2 python-r1 +inherit java-pkg-opt-2 php-ext-source-r2 python-r1 toolchain-funcs DESCRIPTION="SWIG and JNI bindings for Xapian" HOMEPAGE="http://www.xapian.org/" @@ -36,6 +36,7 @@ COMMONDEPEND="=dev-libs/xapian-${PV}* tcl? ( >=dev-lang/tcl-8.1:0= )" # mono? ( >=dev-lang/mono-1.0.8 ) DEPEND="${COMMONDEPEND} + virtual/pkgconfig java? ( >=virtual/jdk-1.3 )" RDEPEND="${COMMONDEPEND} java? ( >=virtual/jre-1.3 )" @@ -75,7 +76,7 @@ src_configure() { fi if use lua; then - export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)" + export LUA_LIB="$($(tc-getPKG_CONFIG) --variable=INSTALL_CMOD lua)" fi econf \ diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.3.3-r2.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.3.3-r2.ebuild index 6a8881433d076..142a6256aea51 100644 --- a/dev-libs/xapian-bindings/xapian-bindings-1.3.3-r2.ebuild +++ b/dev-libs/xapian-bindings/xapian-bindings-1.3.3-r2.ebuild @@ -16,7 +16,7 @@ PHP_EXT_NAME="xapian" PHP_EXT_INI="yes" PHP_EXT_OPTIONAL_USE="php" -inherit autotools distutils-r1 libtool java-pkg-opt-2 mono-env php-ext-source-r2 +inherit autotools distutils-r1 libtool java-pkg-opt-2 mono-env php-ext-source-r2 toolchain-funcs DESCRIPTION="SWIG and JNI bindings for Xapian" HOMEPAGE="http://www.xapian.org/" @@ -36,6 +36,7 @@ COMMONDEPEND="=dev-libs/xapian-${PV}* ruby? ( dev-lang/ruby:= ) tcl? ( >=dev-lang/tcl-8.1:0= )" DEPEND="${COMMONDEPEND} + virtual/pkgconfig java? ( >=virtual/jdk-1.3 )" RDEPEND="${COMMONDEPEND} java? ( >=virtual/jre-1.3 )" @@ -71,7 +72,7 @@ src_configure() { fi if use lua; then - export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)" + export LUA_LIB="$($(tc-getPKG_CONFIG) --variable=INSTALL_CMOD lua)" fi econf \