Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/libgda/
Date: Mon, 31 Dec 2018 21:49:46
Message-Id: 1546292959.33e0c87a28ce9c90d2f54ec8783b1bb3c76ea7d7.leio@gentoo
commit:     33e0c87a28ce9c90d2f54ec8783b1bb3c76ea7d7
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 31 21:48:16 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Dec 31 21:49:19 2018 +0000

gnome-extra/libgda: fix USE=ldap build on 17.1 profiles

Without passing libdir-name to configure it always uses "lib",
which will fail on systems where /usr/lib is not a symlink to
/usr/lib64, when openldap is installed to lib64, as it is on
17.1 amd64 profiles. Unfortunately openldap still doesn't ship
pkgconfig files, but fortunately there's this configure knob
with which to teach it where openldap is.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT>>

 gnome-extra/libgda/libgda-5.2.8.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnome-extra/libgda/libgda-5.2.8.ebuild b/gnome-extra/libgda/libgda-5.2.8.ebuild
index 0eb06d4b35c..6570bb39df7 100644
--- a/gnome-extra/libgda/libgda-5.2.8.ebuild
+++ b/gnome-extra/libgda/libgda-5.2.8.ebuild
@@ -143,6 +143,7 @@ src_configure() {
 		"$(use_with java java $JAVA_HOME)" \
 		$(use_enable json) \
 		$(use_with ldap) \
+		--with-ldap-libdir-name="$(get_libdir)" \
 		$(use_with mdb mdb /usr) \
 		$(use_with mysql mysql /usr) \
 		$(use_with oci8 oracle) \